diff options
Diffstat (limited to 'bsp/stm32/stm32f767-st-nucleo')
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/SConstruct | 2 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/applications/main.c | 5 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/board/board.c | 4 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/board/board.h | 5 |
4 files changed, 8 insertions, 8 deletions
diff --git a/bsp/stm32/stm32f767-st-nucleo/SConstruct b/bsp/stm32/stm32f767-st-nucleo/SConstruct index 51333e0a9c..b6053d64c2 100644 --- a/bsp/stm32/stm32f767-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f767-st-nucleo/SConstruct @@ -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') diff --git a/bsp/stm32/stm32f767-st-nucleo/applications/main.c b/bsp/stm32/stm32f767-st-nucleo/applications/main.c index 7638671ac8..ed3fc2c341 100644 --- a/bsp/stm32/stm32f767-st-nucleo/applications/main.c +++ b/bsp/stm32/stm32f767-st-nucleo/applications/main.c @@ -5,14 +5,13 @@ * * Change Logs: * Date Author Notes - * 2018-11-06 SummerGift change to new framework - * 2019-1-10 e31207077 change to new framework + * 2018-11-06 SummerGift first version + * 2019-1-10 e31207077 add stm32f767-st-nucleo bsp */ #include <rtthread.h> #include <rtdevice.h> #include <board.h> -#include "drv_gpio.h" /* defined the LED1 pin: PB0 */ #define LED1_PIN GET_PIN(B, 0) diff --git a/bsp/stm32/stm32f767-st-nucleo/board/board.c b/bsp/stm32/stm32f767-st-nucleo/board/board.c index 8219495b63..0c63bfe489 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/board.c +++ b/bsp/stm32/stm32f767-st-nucleo/board/board.c @@ -5,8 +5,8 @@ * * Change Logs: * Date Author Notes - * 2018-11-06 SummerGift change to new framework - * 2019-1-10 e31207077 change to new framework + * 2018-11-06 SummerGift first version + * 2019-1-10 e31207077 add stm32f767-st-nucleo bsp */ #include "board.h" diff --git a/bsp/stm32/stm32f767-st-nucleo/board/board.h b/bsp/stm32/stm32f767-st-nucleo/board/board.h index f0d8113f4f..1d1e1d1106 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/board.h +++ b/bsp/stm32/stm32f767-st-nucleo/board/board.h @@ -5,8 +5,8 @@ * * Change Logs: * Date Author Notes - * 2018-11-5 SummerGift change to new framework - * 2019-1-10 e31207077 change to new framework + * 2018-11-5 SummerGift first version + * 2019-1-10 e31207077 add stm32f767-st-nucleo bsp */ #ifndef __BOARD_H__ @@ -15,6 +15,7 @@ #include <rtthread.h> #include <stm32f7xx.h> #include "drv_common.h" +#include "drv_gpio.h" #define STM32_FLASH_START_ADRESS ((uint32_t)0x08000000) #define STM32_FLASH_SIZE (2048 * 1024) |
