summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhj <[email protected]>2019-01-23 13:28:29 +0800
committerwhj <[email protected]>2019-01-23 13:29:03 +0800
commitd61ddb8108c03e8bd07349bca6a3b5b3d1517ecc (patch)
tree98d3474e23e1d4dfdaa6556e8398614218c8a5c0
parent994c261b77b9755ce0b7d186f260303737801f20 (diff)
[bsp][stm32]stm32f107 同步最新模板
-rw-r--r--bsp/stm32/stm32f107-uc-eval/board/board.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsp/stm32/stm32f107-uc-eval/board/board.h b/bsp/stm32/stm32f107-uc-eval/board/board.h
index ec1f03b2c4..cfcfe1c51b 100644
--- a/bsp/stm32/stm32f107-uc-eval/board/board.h
+++ b/bsp/stm32/stm32f107-uc-eval/board/board.h
@@ -14,6 +14,11 @@
#include <rtthread.h>
#include <stm32f1xx.h>
#include "drv_common.h"
+#include "drv_gpio.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#define STM32_FLASH_START_ADRESS ((uint32_t)0x08000000)
#define STM32_FLASH_SIZE (256 * 1024)
@@ -38,4 +43,8 @@ extern int __bss_end;
void SystemClock_Config(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BOARD_H__ */