从STM32F103ZET6到STM32F103C8T6

tech2024-10-29  13

从STM32F103ZET6换到STM32F103C8T6如下:

STM32F103ZET6的启动文件是startup_stm32f10x_hd.s, STM32F103C8T6的启动文件是startup_stm32f10x_md.s,

并将C/C++中

STM32F10X_HD,USE_STDPERIPH_DRIVER

换成

STM32F10X_MD,USE_STDPERIPH_DRIVER

编译成功

最新回复(0)