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

This commit is contained in:
whj 2019-01-23 13:01:45 +08:00
parent 1b2d5661c0
commit 994c261b77
4 changed files with 6 additions and 6 deletions

View File

@ -1,16 +1,16 @@
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"

View File

@ -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')

View File

@ -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)

View File

@ -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};
place in RAM_region { readwrite, last block CSTACK};