summaryrefslogtreecommitdiff
path: root/bsp/stm32/stm32f103-atk-nano
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/stm32/stm32f103-atk-nano')
-rw-r--r--bsp/stm32/stm32f103-atk-nano/SConstruct2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/applications/main.c4
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/Kconfig2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/board.c2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/board.h4
5 files changed, 7 insertions, 7 deletions
diff --git a/bsp/stm32/stm32f103-atk-nano/SConstruct b/bsp/stm32/stm32f103-atk-nano/SConstruct
index c28354a99d..05326b2b75 100644
--- a/bsp/stm32/stm32f103-atk-nano/SConstruct
+++ b/bsp/stm32/stm32f103-atk-nano/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/stm32f103-atk-nano/applications/main.c b/bsp/stm32/stm32f103-atk-nano/applications/main.c
index e5b96d8280..6d75fd13ce 100644
--- a/bsp/stm32/stm32f103-atk-nano/applications/main.c
+++ b/bsp/stm32/stm32f103-atk-nano/applications/main.c
@@ -5,13 +5,13 @@
*
* Change Logs:
* Date Author Notes
- * 2018-11-27 balanceTWK change to new framework
+ * 2018-11-27 balanceTWK first version
*/
#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)
diff --git a/bsp/stm32/stm32f103-atk-nano/board/Kconfig b/bsp/stm32/stm32f103-atk-nano/board/Kconfig
index e7873048cf..010389a3bb 100644
--- a/bsp/stm32/stm32f103-atk-nano/board/Kconfig
+++ b/bsp/stm32/stm32f103-atk-nano/board/Kconfig
@@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers"
default n
config BSP_USING_SPI_FLASH
- bool "Enable SPI FLASH (w25q16 spi2)"
+ bool "Enable SPI FLASH (W25Q16 spi2)"
select BSP_USING_SPI
select BSP_USING_SPI2
select RT_USING_SFUD
diff --git a/bsp/stm32/stm32f103-atk-nano/board/board.c b/bsp/stm32/stm32f103-atk-nano/board/board.c
index 2d8c3ee69e..bb35832bfa 100644
--- a/bsp/stm32/stm32f103-atk-nano/board/board.c
+++ b/bsp/stm32/stm32f103-atk-nano/board/board.c
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2018-11-06 balanceTWK change to new framework
+ * 2018-11-06 balanceTWK first version
*/
#include "board.h"
diff --git a/bsp/stm32/stm32f103-atk-nano/board/board.h b/bsp/stm32/stm32f103-atk-nano/board/board.h
index 3613a683fc..33d4e4bc25 100644
--- a/bsp/stm32/stm32f103-atk-nano/board/board.h
+++ b/bsp/stm32/stm32f103-atk-nano/board/board.h
@@ -5,15 +5,15 @@
*
* Change Logs:
* Date Author Notes
- * 2018-11-5 SummerGift change to new framework
+ * 2018-11-5 SummerGift first version
*/
#ifndef __BOARD_H__
#define __BOARD_H__
-#include <rtthread.h>
#include <stm32f1xx.h>
#include "drv_common.h"
+#include "drv_gpio.h"
#ifdef __cplusplus
extern "C" {