Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Mozi
rt-thread
提交
ea9958a5
R
rt-thread
项目概览
Mozi
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ea9958a5
编写于
12月 26, 2018
作者:
S
SummerGift
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32] sync bsp template file
上级
2999fa30
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
8 addition
and
58 deletion
+8
-58
bsp/stm32/libraries/templates/stm32f10x/README.md
bsp/stm32/libraries/templates/stm32f10x/README.md
+1
-1
bsp/stm32/libraries/templates/stm32f10x/board/board.c
bsp/stm32/libraries/templates/stm32f10x/board/board.c
+0
-9
bsp/stm32/libraries/templates/stm32f10x/board/board.h
bsp/stm32/libraries/templates/stm32f10x/board/board.h
+0
-1
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
+1
-0
bsp/stm32/libraries/templates/stm32f4xx/README.md
bsp/stm32/libraries/templates/stm32f4xx/README.md
+1
-1
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
+0
-9
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
+0
-1
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
+1
-0
bsp/stm32/libraries/templates/stm32f7xx/README.md
bsp/stm32/libraries/templates/stm32f7xx/README.md
+1
-1
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
+0
-17
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
+0
-5
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
+1
-0
bsp/stm32/libraries/templates/stm32l4xx/README.md
bsp/stm32/libraries/templates/stm32l4xx/README.md
+1
-1
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
+0
-9
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
+0
-3
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
+1
-0
未找到文件。
bsp/stm32/libraries/templates/stm32f10x/README.md
浏览文件 @
ea9958a5
...
...
@@ -28,7 +28,7 @@
-
常用外设
-
LED:x个,DS0(红色,PB1),DS1(绿色,PB0)
-
按键:x个,K0(兼具唤醒功能,PA0),K1(PC13)
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
、...
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
等
-
调试接口,标准 JTAG/SWD
开发板更多详细信息请参考【厂商名】
[
xxx开发板介绍
](
https://xxx
)
。
...
...
bsp/stm32/libraries/templates/stm32f10x/board/board.c
浏览文件 @
ea9958a5
...
...
@@ -42,12 +42,3 @@ void SystemClock_Config(void)
Error_Handler
();
}
}
void
MX_GPIO_Init
(
void
)
{
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOD_CLK_ENABLE
();
__HAL_RCC_GPIOA_CLK_ENABLE
();
}
bsp/stm32/libraries/templates/stm32f10x/board/board.h
浏览文件 @
ea9958a5
...
...
@@ -33,6 +33,5 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
#endif
/* __BOARD_H__ */
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
浏览文件 @
ea9958a5
...
...
@@ -36,6 +36,7 @@ if PLATFORM == 'gcc':
CC
=
PREFIX
+
'gcc'
AS
=
PREFIX
+
'gcc'
AR
=
PREFIX
+
'ar'
CXX
=
PREFIX
+
'g++'
LINK
=
PREFIX
+
'gcc'
TARGET_EXT
=
'elf'
SIZE
=
PREFIX
+
'size'
...
...
bsp/stm32/libraries/templates/stm32f4xx/README.md
浏览文件 @
ea9958a5
...
...
@@ -28,7 +28,7 @@
-
常用外设
-
LED:x个,DS0(红色,PB1),DS1(绿色,PB0)
-
按键:x个,K0(兼具唤醒功能,PA0),K1(PC13)
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
、...
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
等
-
调试接口,标准 JTAG/SWD
开发板更多详细信息请参考【厂商名】
[
xxx开发板介绍
](
https://xxx
)
。
...
...
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
浏览文件 @
ea9958a5
...
...
@@ -47,12 +47,3 @@ void SystemClock_Config(void)
Error_Handler
();
}
}
void
MX_GPIO_Init
(
void
)
{
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOH_CLK_ENABLE
();
__HAL_RCC_GPIOA_CLK_ENABLE
();
}
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
浏览文件 @
ea9958a5
...
...
@@ -32,7 +32,6 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
#endif
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
浏览文件 @
ea9958a5
...
...
@@ -36,6 +36,7 @@ if PLATFORM == 'gcc':
CC
=
PREFIX
+
'gcc'
AS
=
PREFIX
+
'gcc'
AR
=
PREFIX
+
'ar'
CXX
=
PREFIX
+
'g++'
LINK
=
PREFIX
+
'gcc'
TARGET_EXT
=
'elf'
SIZE
=
PREFIX
+
'size'
...
...
bsp/stm32/libraries/templates/stm32f7xx/README.md
浏览文件 @
ea9958a5
...
...
@@ -28,7 +28,7 @@
-
常用外设
-
LED:x个,DS0(红色,PB1),DS1(绿色,PB0)
-
按键:x个,K0(兼具唤醒功能,PA0),K1(PC13)
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
、...
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
等
-
调试接口,标准 JTAG/SWD
开发板更多详细信息请参考【厂商名】
[
xxx开发板介绍
](
https://xxx
)
。
...
...
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
浏览文件 @
ea9958a5
...
...
@@ -61,20 +61,3 @@ void SystemClock_Config(void)
}
}
void
MX_GPIO_Init
(
void
)
{
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOH_CLK_ENABLE
();
__HAL_RCC_GPIOA_CLK_ENABLE
();
}
#ifdef RT_USING_PIN
// int board_pin_init(void)
// {
// rt_pin_mode(LED0_PIN, PIN_MODE_OUTPUT);
// return 0;
// }
// INIT_BOARD_EXPORT(board_pin_init);
#endif
/* RT_USING_PIN */
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
浏览文件 @
ea9958a5
...
...
@@ -16,10 +16,6 @@
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
// #define LED0_PIN GET_PIN(H, 10)
#endif
#define STM32_SRAM_SIZE 256
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
@@ -38,7 +34,6 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
#endif
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
浏览文件 @
ea9958a5
...
...
@@ -34,6 +34,7 @@ if PLATFORM == 'gcc':
CXX
=
PREFIX
+
'g++'
AS
=
PREFIX
+
'gcc'
AR
=
PREFIX
+
'ar'
CXX
=
PREFIX
+
'g++'
LINK
=
PREFIX
+
'gcc'
TARGET_EXT
=
'elf'
SIZE
=
PREFIX
+
'size'
...
...
bsp/stm32/libraries/templates/stm32l4xx/README.md
浏览文件 @
ea9958a5
...
...
@@ -28,7 +28,7 @@
-
常用外设
-
LED:x个,DS0(红色,PB1),DS1(绿色,PB0)
-
按键:x个,K0(兼具唤醒功能,PA0),K1(PC13)
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
、...
-
常用接口:USB 转串口、SD 卡接口、以太网接口、LCD 接口
等
-
调试接口,标准 JTAG/SWD
开发板更多详细信息请参考【厂商名】
[
xxx开发板介绍
](
https://xxx
)
。
...
...
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
浏览文件 @
ea9958a5
...
...
@@ -57,12 +57,3 @@ void SystemClock_Config(void)
Error_Handler
();
}
}
void
MX_GPIO_Init
(
void
)
{
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOH_CLK_ENABLE
();
__HAL_RCC_GPIOA_CLK_ENABLE
();
}
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
浏览文件 @
ea9958a5
...
...
@@ -32,8 +32,5 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
#endif
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
浏览文件 @
ea9958a5
...
...
@@ -36,6 +36,7 @@ if PLATFORM == 'gcc':
CC
=
PREFIX
+
'gcc'
AS
=
PREFIX
+
'gcc'
AR
=
PREFIX
+
'ar'
CXX
=
PREFIX
+
'g++'
LINK
=
PREFIX
+
'gcc'
TARGET_EXT
=
'elf'
SIZE
=
PREFIX
+
'size'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录