From d61ddb8108c03e8bd07349bca6a3b5b3d1517ecc Mon Sep 17 00:00:00 2001 From: whj Date: Wed, 23 Jan 2019 13:28:29 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][stm32]stm32f107=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32f107-uc-eval/board/board.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 #include #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__ */