Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
938bbb03
R
rt-thread
项目概览
BaiXuePrincess
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
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看板
提交
938bbb03
编写于
12月 20, 2018
作者:
S
SummerGift
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32] optimize main func
上级
d5c7d8d4
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
91 addition
and
161 deletion
+91
-161
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
+10
-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
-6
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
+10
-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
-6
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
+10
-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
-6
bsp/stm32/stm32f103-atk-nano/applications/main.c
bsp/stm32/stm32f103-atk-nano/applications/main.c
+10
-1
bsp/stm32/stm32f103-atk-nano/board/board.c
bsp/stm32/stm32f103-atk-nano/board/board.c
+1
-8
bsp/stm32/stm32f103-atk-nano/board/board.h
bsp/stm32/stm32f103-atk-nano/board/board.h
+0
-7
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
+10
-1
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
+0
-11
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
+0
-7
bsp/stm32/stm32f407-atk-explorer/applications/main.c
bsp/stm32/stm32f407-atk-explorer/applications/main.c
+10
-1
bsp/stm32/stm32f407-atk-explorer/board/board.c
bsp/stm32/stm32f407-atk-explorer/board/board.c
+0
-11
bsp/stm32/stm32f407-atk-explorer/board/board.h
bsp/stm32/stm32f407-atk-explorer/board/board.h
+0
-7
bsp/stm32/stm32f429-atk-apollo/applications/main.c
bsp/stm32/stm32f429-atk-apollo/applications/main.c
+10
-1
bsp/stm32/stm32f429-atk-apollo/board/board.c
bsp/stm32/stm32f429-atk-apollo/board/board.c
+0
-11
bsp/stm32/stm32f429-atk-apollo/board/board.h
bsp/stm32/stm32f429-atk-apollo/board/board.h
+0
-9
bsp/stm32/stm32f429-fire-challenger/applications/main.c
bsp/stm32/stm32f429-fire-challenger/applications/main.c
+10
-1
bsp/stm32/stm32f429-fire-challenger/board/board.c
bsp/stm32/stm32f429-fire-challenger/board/board.c
+0
-11
bsp/stm32/stm32f429-fire-challenger/board/board.h
bsp/stm32/stm32f429-fire-challenger/board/board.h
+0
-8
bsp/stm32/stm32l475-atk-pandora/applications/main.c
bsp/stm32/stm32l475-atk-pandora/applications/main.c
+10
-1
bsp/stm32/stm32l475-atk-pandora/board/board.c
bsp/stm32/stm32l475-atk-pandora/board/board.c
+0
-9
bsp/stm32/stm32l475-atk-pandora/board/board.h
bsp/stm32/stm32l475-atk-pandora/board/board.h
+0
-8
未找到文件。
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PB1 */
#define LED0_PIN GET_PIN(B, 1)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
// rt_pin_write(LED0_PIN, !rt_pin_read(LED0_PIN));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/libraries/templates/stm32f10x/board/board.c
浏览文件 @
938bbb03
...
...
@@ -51,12 +51,3 @@ void MX_GPIO_Init(void)
__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/stm32f10x/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,12 +15,6 @@
#include <stm32f1xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
// #define LED0_PIN GET_PIN(C, 0)
#endif
/* Internal SRAM memory size[Kbytes] <8-64>, Default: 64*/
#define STM32_SRAM_SIZE 20
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PB1 */
#define LED0_PIN GET_PIN(B, 1)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
// rt_pin_write(LED0_PIN, !rt_pin_read(LED0_PIN));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
浏览文件 @
938bbb03
...
...
@@ -56,12 +56,3 @@ void MX_GPIO_Init(void)
__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/stm32f4xx/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,12 +15,6 @@
#include <stm32f4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
// #define LED0_PIN GET_PIN(C, 0)
#endif
#define STM32_SRAM_SIZE 128
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PB1 */
#define LED0_PIN GET_PIN(B, 1)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
// rt_pin_write(LED0_PIN, !rt_pin_read(LED0_PIN));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
浏览文件 @
938bbb03
...
...
@@ -66,12 +66,3 @@ void MX_GPIO_Init(void)
__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/stm32l4xx/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,12 +15,6 @@
#include <stm32l4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
// #define LED0_PIN GET_PIN(C, 0)
#endif
#define STM32_SRAM_SIZE 96
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
bsp/stm32/stm32f103-atk-nano/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PC0 */
#define LED0_PIN GET_PIN(C, 0)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED0_PIN
,
!
rt_pin_read
(
LED0_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32f103-atk-nano/board/board.c
浏览文件 @
938bbb03
...
...
@@ -62,11 +62,4 @@ void MX_GPIO_Init(void)
__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/stm32f103-atk-nano/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,13 +15,6 @@
#include <stm32f1xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
#define LED0_PIN GET_PIN(C, 0)
#define LED1_PIN GET_PIN(C, 1)
#endif
#define STM32_FLASH_START_ADRESS ((uint32_t)0x08000000)
#define STM32_FLASH_SIZE (128 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
...
...
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PF7 */
#define LED0_PIN GET_PIN(F, 7)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED0_PIN
,
!
rt_pin_read
(
LED0_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
浏览文件 @
938bbb03
...
...
@@ -63,14 +63,3 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOC_CLK_ENABLE
();
__HAL_RCC_GPIOD_CLK_ENABLE
();
}
#ifdef RT_USING_PIN
int
board_pin_init
(
void
)
{
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
return
0
;
}
INIT_BOARD_EXPORT
(
board_pin_init
);
#endif
/* RT_USING_PIN */
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,13 +15,6 @@
#include <stm32f1xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
#define LED0_PIN GET_PIN(F, 7)
#define LED1_PIN GET_PIN(F, 8)
#endif
/* Internal SRAM memory size[Kbytes] <8-64>, Default: 64*/
#define STM32_SRAM_SIZE 64
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
bsp/stm32/stm32f407-atk-explorer/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -12,14 +12,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PF9 */
#define LED0_PIN GET_PIN(F, 9)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED1_PIN
,
!
rt_pin_read
(
LED1_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32f407-atk-explorer/board/board.c
浏览文件 @
938bbb03
...
...
@@ -67,14 +67,3 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOB_CLK_ENABLE
();
}
#ifdef RT_USING_PIN
int
board_pin_init
(
void
)
{
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
return
0
;
}
INIT_BOARD_EXPORT
(
board_pin_init
);
#endif
/* RT_USING_PIN */
bsp/stm32/stm32f407-atk-explorer/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,13 +15,6 @@
#include <stm32f4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
/* Board Pin definitions */
#define LED0_PIN GET_PIN(F, 9)
#define LED1_PIN GET_PIN(F, 10)
#endif
#define STM32_SRAM_SIZE (128)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
bsp/stm32/stm32f429-atk-apollo/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PB1 */
#define LED0_PIN GET_PIN(B, 1)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED1_PIN
,
!
rt_pin_read
(
LED1_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32f429-atk-apollo/board/board.c
浏览文件 @
938bbb03
...
...
@@ -77,14 +77,3 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOD_CLK_ENABLE
();
__HAL_RCC_GPIOG_CLK_ENABLE
();
}
#ifdef RT_USING_PIN
int
board_pin_init
(
void
)
{
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
return
0
;
}
INIT_BOARD_EXPORT
(
board_pin_init
);
#endif
/* RT_USING_PIN */
bsp/stm32/stm32f429-atk-apollo/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,10 +15,6 @@
#include <stm32f4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
#endif
#define STM32_SRAM_SIZE (192)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
@@ -39,12 +35,7 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
/* Board Pin definitions */
#define LED0_PIN GET_PIN(B, 1)
#define LED1_PIN GET_PIN(B, 0)
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
#endif
bsp/stm32/stm32f429-fire-challenger/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -12,14 +12,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PH10 */
#define LED0_PIN GET_PIN(H, 10)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED1_PIN
,
!
rt_pin_read
(
LED1_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32f429-fire-challenger/board/board.c
浏览文件 @
938bbb03
...
...
@@ -76,14 +76,3 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOG_CLK_ENABLE
();
}
#ifdef RT_USING_PIN
int
board_pin_init
(
void
)
{
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
rt_pin_mode
(
LED1_PIN
,
PIN_MODE_OUTPUT
);
return
0
;
}
INIT_BOARD_EXPORT
(
board_pin_init
);
#endif
/* RT_USING_PIN */
bsp/stm32/stm32f429-fire-challenger/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,10 +15,6 @@
#include <stm32f4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
#endif
#define STM32_SRAM_SIZE (192)
#define STM32_SRAM_END (0x20000000 + STM32_SRAM_SIZE * 1024)
...
...
@@ -39,10 +35,6 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
/* Board Pin definitions */
#define LED0_PIN GET_PIN(H, 10)
#define LED1_PIN GET_PIN(H, 11)
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
...
...
bsp/stm32/stm32l475-atk-pandora/applications/main.c
浏览文件 @
938bbb03
...
...
@@ -11,14 +11,23 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED0 pin: PE7 */
#define LED0_PIN GET_PIN(E, 7)
int
main
(
void
)
{
int
count
=
1
;
/* set LED0 pin mode to output */
rt_pin_mode
(
LED0_PIN
,
PIN_MODE_OUTPUT
);
while
(
count
++
)
{
rt_pin_write
(
LED0_PIN
,
!
rt_pin_read
(
LED0_PIN
));
rt_pin_write
(
LED0_PIN
,
PIN_HIGH
);
rt_thread_mdelay
(
500
);
rt_pin_write
(
LED0_PIN
,
PIN_LOW
);
rt_thread_mdelay
(
500
);
}
return
RT_EOK
;
}
bsp/stm32/stm32l475-atk-pandora/board/board.c
浏览文件 @
938bbb03
...
...
@@ -74,12 +74,3 @@ void MX_GPIO_Init(void)
__HAL_RCC_GPIOB_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/stm32l475-atk-pandora/board/board.h
浏览文件 @
938bbb03
...
...
@@ -15,10 +15,6 @@
#include <stm32l4xx.h>
#include "drv_common.h"
#ifdef BSP_USING_GPIO
#include "drv_gpio.h"
#endif
#define STM32_SRAM1_SIZE (96)
#define STM32_SRAM1_START (0x20000000)
#define STM32_SRAM1_END (STM32_SRAM1_START + STM32_SRAM1_SIZE * 1024)
...
...
@@ -30,10 +26,6 @@
#define HEAP_BEGIN STM32_SRAM1_START
#define HEAP_END STM32_SRAM1_END
/* Board Pin definitions */
#define LED0_PIN GET_PIN(E, 7)
#define LED1_PIN GET_PIN(E, 8)
void
SystemClock_Config
(
void
);
void
MX_GPIO_Init
(
void
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录