STM32F10X_XX宏定义的选择及含义

本文解析了来自 优快云 的一篇博客文章,详细介绍了如何理解和应用博客内容,包括其核心观点和实用技巧。
Rebuild started: Project: STM32_Proj *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'STM32F103ZE' compiling stm32f10x_adc.c... ..\Libraries\FWlib\src\stm32f10x_adc.c(23): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\Libraries\FWlib\src\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_cec.c... ..\Libraries\FWlib\src\stm32f10x_cec.c(23): error: #5: cannot open source input file "stm32f10x_cec.h": No such file or directory #include "stm32f10x_cec.h" ..\Libraries\FWlib\src\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_can.c... ..\Libraries\FWlib\src\stm32f10x_can.c(23): error: #5: cannot open source input file "stm32f10x_can.h": No such file or directory #include "stm32f10x_can.h" ..\Libraries\FWlib\src\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_crc.c... ..\Libraries\FWlib\src\stm32f10x_crc.c(23): error: #5: cannot open source input file "stm32f10x_crc.h": No such file or directory #include "stm32f10x_crc.h" ..\Libraries\FWlib\src\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_exti.c... ..\Libraries\FWlib\src\stm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory #include "stm32f10x_exti.h" ..\Libraries\FWlib\src\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_flash.c... ..\Libraries\FWlib\src\stm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory #include "stm32f10x_flash.h" ..\Libraries\FWlib\src\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_dac.c... ..\Libraries\FWlib\src\stm32f10x_dac.c(23): error: #5: cannot open source input file "stm32f10x_dac.h": No such file or directory #include "stm32f10x_dac.h" ..\Libraries\FWlib\src\stm32f10x_dac.c: 0 warnings, 1 error compiling misc.c... ..\Libraries\FWlib\src\misc.c(24): error: #5: cannot open source input file "misc.h": No such file or directory #include "misc.h" ..\Libraries\FWlib\src\misc.c: 0 warnings, 1 error compiling stm32f10x_dma.c... ..\Libraries\FWlib\src\stm32f10x_dma.c(23): error: #5: cannot open source input file "stm32f10x_dma.h": No such file or directory #include "stm32f10x_dma.h" ..\Libraries\FWlib\src\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... ..\Libraries\FWlib\src\stm32f10x_bkp.c(23): error: #5: cannot open source input file "stm32f10x_bkp.h": No such file or directory #include "stm32f10x_bkp.h" ..\Libraries\FWlib\src\stm32f10x_bkp.c: 0 warnings, 1 error compiling system_stm32f10x.c... compiling stm32f10x_i2c.c... ..\Libraries\FWlib\src\stm32f10x_i2c.c(23): error: #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory #include "stm32f10x_i2c.h" ..\Libraries\FWlib\src\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... ..\Libraries\FWlib\src\stm32f10x_iwdg.c(23): error: #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory #include "stm32f10x_iwdg.h" ..\Libraries\FWlib\src\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... ..\Libraries\FWlib\src\stm32f10x_pwr.c(23): error: #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory #include "stm32f10x_pwr.h" ..\Libraries\FWlib\src\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... ..\Libraries\FWlib\src\stm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory #include "stm32f10x_fsmc.h" ..\Libraries\FWlib\src\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... ..\Libraries\FWlib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory #include "stm32f10x_gpio.h" ..\Libraries\FWlib\src\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... ..\Libraries\FWlib\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory #include "stm32f10x_rcc.h" ..\Libraries\FWlib\src\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... ..\Libraries\FWlib\src\stm32f10x_dbgmcu.c(23): error: #5: cannot open source input file "stm32f10x_dbgmcu.h": No such file or directory #include "stm32f10x_dbgmcu.h" ..\Libraries\FWlib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error assembling startup_stm32f10x_hd.s... compiling stm32f10x_rtc.c... ..\Libraries\FWlib\src\stm32f10x_rtc.c(23): error: #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory #include "stm32f10x_rtc.h" ..\Libraries\FWlib\src\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... ..\Libraries\FWlib\src\stm32f10x_sdio.c(23): error: #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory #include "stm32f10x_sdio.h" ..\Libraries\FWlib\src\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... ..\Libraries\FWlib\src\stm32f10x_spi.c(23): error: #5: cannot open source input file "stm32f10x_spi.h": No such file or directory #include "stm32f10x_spi.h" ..\Libraries\FWlib\src\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... ..\Libraries\FWlib\src\stm32f10x_tim.c(23): error: #5: cannot open source input file "stm32f10x_tim.h": No such file or directory #include "stm32f10x_tim.h" ..\Libraries\FWlib\src\stm32f10x_tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... ..\Libraries\FWlib\src\stm32f10x_usart.c(23): error: #5: cannot open source input file "stm32f10x_usart.h": No such file or directory #include "stm32f10x_usart.h" ..\Libraries\FWlib\src\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... ..\Libraries\FWlib\src\stm32f10x_wwdg.c(23): error: #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory #include "stm32f10x_wwdg.h" ..\Libraries\FWlib\src\stm32f10x_wwdg.c: 0 warnings, 1 error compiling main.c... D:\Keil_v5\ARM\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(486): error: #5: cannot open source input file "core_cm3.h": No such file or directory #include "core_cm3.h" ..\Source\Main\main.c: 0 warnings, 1 error compiling stm32f10x_it.c... D:\Keil_v5\ARM\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(486): error: #5: cannot open source input file "core_cm3.h": No such file or directory #include "core_cm3.h" ..\Source\Main\stm32f10x_it.c: 0 warnings, 1 error compiling core_cm3.c... ".\Objects\STM32_Proj.axf" - 25 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:05
09-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值