|
@@ -14,6 +14,11 @@
|
|
#include <rtthread.h>
|
|
#include <rtthread.h>
|
|
#include <stm32f1xx.h>
|
|
#include <stm32f1xx.h>
|
|
#include "drv_common.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_START_ADRESS ((uint32_t)0x08000000)
|
|
#define STM32_FLASH_SIZE (256 * 1024)
|
|
#define STM32_FLASH_SIZE (256 * 1024)
|
|
@@ -38,4 +43,8 @@ extern int __bss_end;
|
|
|
|
|
|
void SystemClock_Config(void);
|
|
void SystemClock_Config(void);
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
#endif /* __BOARD_H__ */
|
|
#endif /* __BOARD_H__ */
|