@@ -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);
+}
#endif /* __BOARD_H__ */