소스 검색

[bsp][stm32]stm32f107 同步最新模板

whj 6 년 전
부모
커밋
d61ddb8108
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      bsp/stm32/stm32f107-uc-eval/board/board.h

+ 9 - 0
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__ */