提交 994c261b 编写于 作者: whj123999's avatar whj123999

{bsp][stm32]stm32f107 更新到最新模板

上级 1b2d5661
mainmenu "RT-Thread Configuration"
config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."
config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."
config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
......
......@@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM == 'iar':
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map rt-thread.map'])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
Export('RTT_ROOT')
Export('rtconfig')
......
......@@ -12,7 +12,7 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "drv_gpio.h"
/* defined the LED1 pin: PD13 */
#define LED1_PIN GET_PIN(D, 13)
......
......@@ -25,4 +25,4 @@ do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite, last block CSTACK};
\ No newline at end of file
place in RAM_region { readwrite, last block CSTACK};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册