bsp.h文件修改后如下: - #ifndef BSP_PRESENT
- #define BSP_PRESENT
- #ifdef BSP_MODULE
- #define BSP_EXT
- #else
- #define BSP_EXT extern
- #endif
- #include <stdio.h>
- #include <stdarg.h>
- #include <cpu.h>
- #include <cpu_core.h>
- #include <lib_def.h>
- #include <lib_ascii.h>
- #include <stm32f10x_conf.h>
- #endif
|