../Src/stm32l4xx_hal_msp.c(446): error: #20: identifier “USART4“ is undefined错误解决

本文解析了STM32F1xx HAL库中关于USART4与UART4的区别与配置问题。详细解释了stm32f1xx_hal_conf.h文件中对头文件的使能及注释状态导致的UART4无法执行的原因。

一个是因为stm32f1xx_hal_conf.h的头文件中对一些头文件做了使能,另一部分头文件是处于注释状态,无法执行。但其实是因为没有usart4,只有uart4

 

 

15:31:57 **** Clean-only build of configuration Debug for project usart2comm **** make -j12 clean rm -rf ./Startup/startup_stm32f030c8tx.d ./Startup/startup_stm32f030c8tx.o rm -rf ./Src/gpio.cyclo ./Src/gpio.d ./Src/gpio.o ./Src/gpio.su ./Src/main.cyclo ./Src/main.d ./Src/main.o ./Src/main.su ./Src/stm32f0xx_hal_msp.cyclo ./Src/stm32f0xx_hal_msp.d ./Src/stm32f0xx_hal_msp.o ./Src/stm32f0xx_hal_msp.su ./Src/stm32f0xx_it.cyclo ./Src/stm32f0xx_it.d ./Src/stm32f0xx_it.o ./Src/stm32f0xx_it.su ./Src/sys.cyclo ./Src/sys.d ./Src/sys.o ./Src/sys.su ./Src/syscalls.cyclo ./Src/syscalls.d ./Src/syscalls.o ./Src/syscalls.su ./Src/sysmem.cyclo ./Src/sysmem.d ./Src/sysmem.o ./Src/sysmem.su ./Src/system_stm32f0xx.cyclo ./Src/system_stm32f0xx.d ./Src/system_stm32f0xx.o ./Src/system_stm32f0xx.su ./Src/usart.cyclo ./Src/usart.d ./Src/usart.o ./Src/usart.su rm -rf default.size.stdout usart2comm.elf usart2comm.list usart2comm.map 15:31:58 Build Finished. 0 errors, 0 warnings. (took 1s.88ms) 15:31:59 **** Build of configuration Debug for project usart2comm **** make -j12 all arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cec.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cec.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cec.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cec.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_comp.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_comp.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_comp.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_comp.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_crc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dac_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2s.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2s.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2s.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2s.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_irda.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_irda.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_irda.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_irda.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_iwdg.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_iwdg.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_iwdg.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_iwdg.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_msp_template.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_msp_template.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_msp_template.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_msp_template.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rtc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smartcard_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smbus.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smbus.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smbus.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_smbus.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.o" arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tsc.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tsc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tsc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tsc.o" ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:82:1: error: unknown type name 'RTC_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 82 | RTC_HandleTypeDef hRTC_Handle; | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: In function 'HAL_InitTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:144:18: error: request for member 'Instance' in something not a structure or union 144 | hRTC_Handle.Instance = RTC; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:145:18: error: request for member 'Init' in something not a structure or union 145 | hRTC_Handle.Init.HourFormat = RTC_HOURFORMAT_24; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:145:37: error: 'RTC_HOURFORMAT_24' undeclared (first use in this function) 145 | hRTC_Handle.Init.HourFormat = RTC_HOURFORMAT_24; | ^~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:145:37: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:146:18: error: request for member 'Init' in something not a structure or union 146 | hRTC_Handle.Init.AsynchPrediv = RTC_ASYNCH_PREDIV; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:147:18: error: request for member 'Init' in something not a structure or union 147 | hRTC_Handle.Init.SynchPrediv = RTC_SYNCH_PREDIV; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:148:18: error: request for member 'Init' in something not a structure or union 148 | hRTC_Handle.Init.OutPut = RTC_OUTPUT_DISABLE; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:148:33: error: 'RTC_OUTPUT_DISABLE' undeclared (first use in this function) 148 | hRTC_Handle.Init.OutPut = RTC_OUTPUT_DISABLE; | ^~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:149:18: error: request for member 'Init' in something not a structure or union 149 | hRTC_Handle.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:149:41: error: 'RTC_OUTPUT_POLARITY_HIGH' undeclared (first use in this function) 149 | hRTC_Handle.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:150:18: error: request for member 'Init' in something not a structure or union 150 | hRTC_Handle.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:150:37: error: 'RTC_OUTPUT_TYPE_OPENDRAIN' undeclared (first use in this function) 150 | hRTC_Handle.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:151:7: warning: implicit declaration of function 'HAL_RTC_Init'; did you mean 'HAL_I2C_Init'? [-Wimplicit-function-declaration] 151 | HAL_RTC_Init(&hRTC_Handle); | ^~~~~~~~~~~~ | HAL_I2C_Init ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:154:7: warning: implicit declaration of function '__HAL_RTC_WRITEPROTECTION_DISABLE' [-Wimplicit-function-declaration] 154 | __HAL_RTC_WRITEPROTECTION_DISABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:157:7: warning: implicit declaration of function '__HAL_RTC_ALARMA_DISABLE' [-Wimplicit-function-declaration] 157 | __HAL_RTC_ALARMA_DISABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:160:7: warning: implicit declaration of function '__HAL_RTC_ALARM_CLEAR_FLAG' [-Wimplicit-function-declaration] 160 | __HAL_RTC_ALARM_CLEAR_FLAG(&hRTC_Handle, RTC_FLAG_ALRAF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:160:48: error: 'RTC_FLAG_ALRAF' undeclared (first use in this function); did you mean 'RTC_ISR_ALRAF'? 160 | __HAL_RTC_ALARM_CLEAR_FLAG(&hRTC_Handle, RTC_FLAG_ALRAF); | ^~~~~~~~~~~~~~ | RTC_ISR_ALRAF ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:164:13: warning: implicit declaration of function '__HAL_RTC_ALARM_GET_FLAG' [-Wimplicit-function-declaration] 164 | while(__HAL_RTC_ALARM_GET_FLAG(&hRTC_Handle, RTC_FLAG_ALRAWF) == RESET) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:164:52: error: 'RTC_FLAG_ALRAWF' undeclared (first use in this function); did you mean 'RTC_ISR_ALRAWF'? 164 | while(__HAL_RTC_ALARM_GET_FLAG(&hRTC_Handle, RTC_FLAG_ALRAWF) == RESET) | ^~~~~~~~~~~~~~~ | RTC_ISR_ALRAWF ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:172:18: error: request for member 'Instance' in something not a structure or union 172 | hRTC_Handle.Instance->ALRMAR = 0x01U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:175:7: warning: implicit declaration of function '__HAL_RTC_ALARMA_ENABLE' [-Wimplicit-function-declaration] 175 | __HAL_RTC_ALARMA_ENABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:177:7: warning: implicit declaration of function '__HAL_RTC_ALARM_ENABLE_IT' [-Wimplicit-function-declaration] 177 | __HAL_RTC_ALARM_ENABLE_IT(&hRTC_Handle, RTC_IT_ALRA); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:177:47: error: 'RTC_IT_ALRA' undeclared (first use in this function); did you mean 'RTC_CR_ALRAE'? 177 | __HAL_RTC_ALARM_ENABLE_IT(&hRTC_Handle, RTC_IT_ALRA); | ^~~~~~~~~~~ | RTC_CR_ALRAE ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:180:7: warning: implicit declaration of function '__HAL_RTC_ALARM_EXTI_ENABLE_IT' [-Wimplicit-function-declaration] 180 | __HAL_RTC_ALARM_EXTI_ENABLE_IT(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:181:7: warning: implicit declaration of function '__HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE' [-Wimplicit-function-declaration] 181 | __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:184:22: error: request for member 'Instance' in something not a structure or union 184 | if((hRTC_Handle.Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET) | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:187:20: error: request for member 'Instance' in something not a structure or union 187 | hRTC_Handle.Instance->ISR = (uint32_t)RTC_INIT_MASK; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:187:47: error: 'RTC_INIT_MASK' undeclared (first use in this function) 187 | hRTC_Handle.Instance->ISR = (uint32_t)RTC_INIT_MASK; | ^~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:189:27: error: request for member 'Instance' in something not a structure or union 189 | while((hRTC_Handle.Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET) | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:197:18: error: request for member 'Instance' in something not a structure or union 197 | hRTC_Handle.Instance->DR = 0U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:198:18: error: request for member 'Instance' in something not a structure or union 198 | hRTC_Handle.Instance->TR = 0U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:200:18: error: request for member 'Instance' in something not a structure or union 200 | hRTC_Handle.Instance->ISR &= (uint32_t)~RTC_ISR_INIT; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:203:7: warning: implicit declaration of function '__HAL_RTC_WRITEPROTECTION_ENABLE' [-Wimplicit-function-declaration] 203 | __HAL_RTC_WRITEPROTECTION_ENABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-none-eabi-gcc "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F030C8Tx -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Src -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/DSP/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.o" ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: In function 'HAL_SuspendTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:224:3: warning: implicit declaration of function '__HAL_RTC_ALARM_DISABLE_IT' [-Wimplicit-function-declaration] 224 | __HAL_RTC_ALARM_DISABLE_IT(&hRTC_Handle, RTC_IT_ALRA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:224:44: error: 'RTC_IT_ALRA' undeclared (first use in this function); did you mean 'RTC_CR_ALRAE'? 224 | __HAL_RTC_ALARM_DISABLE_IT(&hRTC_Handle, RTC_IT_ALRA); | ^~~~~~~~~~~ | RTC_CR_ALRAE ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: In function 'HAL_ResumeTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:240:43: error: 'RTC_IT_ALRA' undeclared (first use in this function); did you mean 'RTC_CR_ALRAE'? 240 | __HAL_RTC_ALARM_ENABLE_IT(&hRTC_Handle, RTC_IT_ALRA); | ^~~~~~~~~~~ | RTC_CR_ALRAE ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: At top level: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:253:34: error: unknown type name 'RTC_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 253 | void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc) | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: In function 'RTC_IRQHandler': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c:288:3: warning: implicit declaration of function 'HAL_RTC_AlarmIRQHandler'; did you mean 'HAL_RCC_NMI_IRQHandler'? [-Wimplicit-function-declaration] 288 | HAL_RTC_AlarmIRQHandler(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~ | HAL_RCC_NMI_IRQHandler ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:83:1: error: unknown type name 'RTC_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 83 | RTC_HandleTypeDef hRTC_Handle; | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: In function 'HAL_InitTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:151:18: error: request for member 'Instance' in something not a structure or union 151 | hRTC_Handle.Instance = RTC; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:152:18: error: request for member 'Init' in something not a structure or union 152 | hRTC_Handle.Init.HourFormat = RTC_HOURFORMAT_24; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:152:37: error: 'RTC_HOURFORMAT_24' undeclared (first use in this function) 152 | hRTC_Handle.Init.HourFormat = RTC_HOURFORMAT_24; | ^~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:152:37: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:153:18: error: request for member 'Init' in something not a structure or union 153 | hRTC_Handle.Init.AsynchPrediv = RTC_ASYNCH_PREDIV; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:154:18: error: request for member 'Init' in something not a structure or union 154 | hRTC_Handle.Init.SynchPrediv = RTC_SYNCH_PREDIV; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:155:18: error: request for member 'Init' in something not a structure or union 155 | hRTC_Handle.Init.OutPut = RTC_OUTPUT_DISABLE; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:155:33: error: 'RTC_OUTPUT_DISABLE' undeclared (first use in this function) 155 | hRTC_Handle.Init.OutPut = RTC_OUTPUT_DISABLE; | ^~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:156:18: error: request for member 'Init' in something not a structure or union 156 | hRTC_Handle.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:156:41: error: 'RTC_OUTPUT_POLARITY_HIGH' undeclared (first use in this function) 156 | hRTC_Handle.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:157:18: error: request for member 'Init' in something not a structure or union 157 | hRTC_Handle.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:157:37: error: 'RTC_OUTPUT_TYPE_OPENDRAIN' undeclared (first use in this function) 157 | hRTC_Handle.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:158:7: warning: implicit declaration of function 'HAL_RTC_Init'; did you mean 'HAL_I2C_Init'? [-Wimplicit-function-declaration] 158 | HAL_RTC_Init(&hRTC_Handle); | ^~~~~~~~~~~~ | HAL_I2C_Init ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:161:7: warning: implicit declaration of function '__HAL_RTC_WRITEPROTECTION_DISABLE' [-Wimplicit-function-declaration] 161 | __HAL_RTC_WRITEPROTECTION_DISABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:164:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_DISABLE' [-Wimplicit-function-declaration] 164 | __HAL_RTC_WAKEUPTIMER_DISABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:167:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_DISABLE_IT' [-Wimplicit-function-declaration] 167 | __HAL_RTC_WAKEUPTIMER_DISABLE_IT(&hRTC_Handle,RTC_IT_WUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:167:53: error: 'RTC_IT_WUT' undeclared (first use in this function) 167 | __HAL_RTC_WAKEUPTIMER_DISABLE_IT(&hRTC_Handle,RTC_IT_WUT); | ^~~~~~~~~~ make: *** [Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk:205: Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.o] Error 1 make: *** Waiting for unfinished jobs.... ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:170:13: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_GET_FLAG' [-Wimplicit-function-declaration] 170 | while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(&hRTC_Handle, RTC_FLAG_WUTWF) == RESET) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:170:58: error: 'RTC_FLAG_WUTWF' undeclared (first use in this function) 170 | while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(&hRTC_Handle, RTC_FLAG_WUTWF) == RESET) | ^~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:40:1: error: unknown type name 'TIM_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 40 | TIM_HandleTypeDef TimHandle; | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c: In function 'HAL_InitTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:90:12: error: request for member 'Instance' in something not a structure or union 90 | TimHandle.Instance = TIM6; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:98:12: error: request for member 'Init' in something not a structure or union 98 | TimHandle.Init.Period = (1000000U / 1000U) - 1U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:99:12: error: request for member 'Init' in something not a structure or union 99 | TimHandle.Init.Prescaler = uwPrescalerValue; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:100:12: error: request for member 'Init' in something not a structure or union 100 | TimHandle.Init.ClockDivision = 0U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:101:12: error: request for member 'Init' in something not a structure or union 101 | TimHandle.Init.CounterMode = TIM_COUNTERMODE_UP; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:182:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_CLEAR_FLAG' [-Wimplicit-function-declaration] 182 | __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(&hRTC_Handle, RTC_FLAG_WUTF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:182:54: error: 'RTC_FLAG_WUTF' undeclared (first use in this function) 182 | __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(&hRTC_Handle, RTC_FLAG_WUTF); | ^~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:185:18: error: request for member 'Instance' in something not a structure or union 185 | hRTC_Handle.Instance->WUTR = 0U; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:188:18: error: request for member 'Instance' in something not a structure or union 188 | hRTC_Handle.Instance->CR &= (uint32_t)~RTC_CR_WUCKSEL; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:101:32: error: 'TIM_COUNTERMODE_UP' undeclared (first use in this function) 101 | TimHandle.Init.CounterMode = TIM_COUNTERMODE_UP; | ^~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:101:32: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:102:12: error: request for member 'Init' in something not a structure or union 102 | TimHandle.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:188:46: error: 'RTC_CR_WUCKSEL' undeclared (first use in this function); did you mean 'RTC_CR_COSEL'? 188 | hRTC_Handle.Instance->CR &= (uint32_t)~RTC_CR_WUCKSEL; | ^~~~~~~~~~~~~~ | RTC_CR_COSEL ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:191:18: error: request for member 'Instance' in something not a structure or union 191 | hRTC_Handle.Instance->CR |= (uint32_t)RTC_WAKEUPCLOCK_CK_SPRE_16BITS; | ^ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:102:38: error: 'TIM_AUTORELOAD_PRELOAD_DISABLE' undeclared (first use in this function) 102 | TimHandle.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:191:45: error: 'RTC_WAKEUPCLOCK_CK_SPRE_16BITS' undeclared (first use in this function) 191 | hRTC_Handle.Instance->CR |= (uint32_t)RTC_WAKEUPCLOCK_CK_SPRE_16BITS; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:103:6: warning: implicit declaration of function 'HAL_TIM_Base_Init' [-Wimplicit-function-declaration] 103 | if(HAL_TIM_Base_Init(&TimHandle) == HAL_OK) | ^~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:106:12: warning: implicit declaration of function 'HAL_TIM_Base_Start_IT'; did you mean 'HAL_DMA_Start_IT'? [-Wimplicit-function-declaration] 106 | return HAL_TIM_Base_Start_IT(&TimHandle); | ^~~~~~~~~~~~~~~~~~~~~ | HAL_DMA_Start_IT ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:194:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT' [-Wimplicit-function-declaration] 194 | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c: In function 'HAL_SuspendTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:122:3: warning: implicit declaration of function '__HAL_TIM_DISABLE_IT' [-Wimplicit-function-declaration] 122 | __HAL_TIM_DISABLE_IT(&TimHandle, TIM_IT_UPDATE); | ^~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:122:36: error: 'TIM_IT_UPDATE' undeclared (first use in this function) 122 | __HAL_TIM_DISABLE_IT(&TimHandle, TIM_IT_UPDATE); | ^~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c: In function 'HAL_ResumeTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:134:3: warning: implicit declaration of function '__HAL_TIM_ENABLE_IT' [-Wimplicit-function-declaration] 134 | __HAL_TIM_ENABLE_IT(&TimHandle, TIM_IT_UPDATE); | ^~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:196:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE' [-Wimplicit-function-declaration] 196 | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:134:35: error: 'TIM_IT_UPDATE' undeclared (first use in this function) 134 | __HAL_TIM_ENABLE_IT(&TimHandle, TIM_IT_UPDATE); | ^~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c: At top level: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:145:36: error: unknown type name 'TIM_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 145 | void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:199:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_ENABLE_IT' [-Wimplicit-function-declaration] 199 | __HAL_RTC_WAKEUPTIMER_ENABLE_IT(&hRTC_Handle,RTC_IT_WUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c: In function 'TIM6_IRQHandler': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.c:157:3: warning: implicit declaration of function 'HAL_TIM_IRQHandler'; did you mean 'HAL_DMA_IRQHandler'? [-Wimplicit-function-declaration] 157 | HAL_TIM_IRQHandler(&TimHandle); | ^~~~~~~~~~~~~~~~~~ | HAL_DMA_IRQHandler ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:202:7: warning: implicit declaration of function '__HAL_RTC_WAKEUPTIMER_ENABLE' [-Wimplicit-function-declaration] 202 | __HAL_RTC_WAKEUPTIMER_ENABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk:205: Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_tim_template.o] Error 1 ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:205:7: warning: implicit declaration of function '__HAL_RTC_WRITEPROTECTION_ENABLE' [-Wimplicit-function-declaration] 205 | __HAL_RTC_WRITEPROTECTION_ENABLE(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: In function 'HAL_SuspendTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:226:50: error: 'RTC_IT_WUT' undeclared (first use in this function) 226 | __HAL_RTC_WAKEUPTIMER_DISABLE_IT(&hRTC_Handle, RTC_IT_WUT); | ^~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: In function 'HAL_ResumeTick': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:242:49: error: 'RTC_IT_WUT' undeclared (first use in this function) 242 | __HAL_RTC_WAKEUPTIMER_ENABLE_IT(&hRTC_Handle, RTC_IT_WUT); | ^~~~~~~~~~ ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: At top level: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:255:41: error: unknown type name 'RTC_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 255 | void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc) | ^~~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: In function 'RTC_IRQHandler': ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c:267:3: warning: implicit declaration of function 'HAL_RTCEx_WakeUpTimerIRQHandler' [-Wimplicit-function-declaration] 267 | HAL_RTCEx_WakeUpTimerIRQHandler(&hRTC_Handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk:205: Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.o] Error 1 "make -j12 all" terminated with exit code 2. Build might be incomplete. 15:32:21 Build Failed. 65 errors, 29 warnings. (took 22s.353ms)
07-10
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\stm32\ARM\ARMCC\Bin' Build target 'BreathingLightProMax' compiling i2c.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/i2c.h(35): error: #20: identifier "I2C_HandleTypeDef" is undefined extern I2C_HandleTypeDef hi2c1; ../Core/Src/i2c.c(27): error: #20: identifier "I2C_HandleTypeDef" is undefined I2C_HandleTypeDef hi2c1; ../Core/Src/i2c.c(40): error: #20: identifier "I2C1" is undefined hi2c1.Instance = I2C1; ../Core/Src/i2c.c(42): error: #20: identifier "I2C_DUTYCYCLE_2" is undefined hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2; ../Core/Src/i2c.c(44): error: #20: identifier "I2C_ADDRESSINGMODE_7BIT" is undefined hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; ../Core/Src/i2c.c(45): error: #20: identifier "I2C_DUALADDRESS_DISABLE" is undefined hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; ../Core/Src/i2c.c(47): error: #20: identifier "I2C_GENERALCALL_DISABLE" is undefined hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; ../Core/Src/i2c.c(48): error: #20: identifier "I2C_NOSTRETCH_DISABLE" is undefined hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE; ../Core/Src/i2c.c(49): warning: #223-D: function "HAL_I2C_Init" declared implicitly if (HAL_I2C_Init(&hi2c1) != HAL_OK) ../Core/Src/i2c.c(49): error: #20: identifier "HAL_OK" is undefined if (HAL_I2C_Init(&hi2c1) != HAL_OK) ../Core/Src/i2c.c(51): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/i2c.c(59): error: #20: identifier "I2C_HandleTypeDef" is undefined void HAL_I2C_MspInit(I2C_HandleTypeDef* i2cHandle) ../Core/Src/i2c.c(62): error: #20: identifier "GPIO_InitTypeDef" is undefined GPIO_InitTypeDef GPIO_InitStruct = {0}; ../Core/Src/i2c.c(63): error: #20: identifier "I2C1" is undefined if(i2cHandle->Instance==I2C1) ../Core/Src/i2c.c(69): warning: #223-D: function "__HAL_RCC_GPIOB_CLK_ENABLE" declared implicitly __HAL_RCC_GPIOB_CLK_ENABLE(); ../Core/Src/i2c.c(74): error: #20: identifier "GPIO_PIN_6" is undefined GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7; ../Core/Src/i2c.c(74): error: #20: identifier "GPIO_PIN_7" is undefined GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7; ../Core/Src/i2c.c(75): error: #20: identifier "GPIO_MODE_AF_OD" is undefined GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; ../Core/Src/i2c.c(76): error: #20: identifier "GPIO_SPEED_FREQ_HIGH" is undefined GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; ../Core/Src/i2c.c(77): warning: #223-D: function "HAL_GPIO_Init" declared implicitly HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); ../Core/Src/i2c.c(77): error: #20: identifier "GPIOB" is undefined HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); ../Core/Src/i2c.c(80): warning: #223-D: function "__HAL_RCC_I2C1_CLK_ENABLE" declared implicitly __HAL_RCC_I2C1_CLK_ENABLE(); ../Core/Src/i2c.c(87): error: #20: identifier "I2C_HandleTypeDef" is undefined void HAL_I2C_MspDeInit(I2C_HandleTypeDef* i2cHandle) ../Core/Src/i2c.c(90): error: #20: identifier "I2C1" is undefined if(i2cHandle->Instance==I2C1) ../Core/Src/i2c.c(96): warning: #223-D: function "__HAL_RCC_I2C1_CLK_DISABLE" declared implicitly __HAL_RCC_I2C1_CLK_DISABLE(); ../Core/Src/i2c.c(102): warning: #223-D: function "HAL_GPIO_DeInit" declared implicitly HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6); ../Core/Src/i2c.c(102): error: #20: identifier "GPIOB" is undefined HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6); ../Core/Src/i2c.c(102): error: #20: identifier "GPIO_PIN_6" is undefined HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6); ../Core/Src/i2c.c(104): error: #20: identifier "GPIO_PIN_7" is undefined HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7); ../Core/Src/i2c.c: 7 warnings, 23 errors compiling stm32f1xx_hal_msp.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Src/stm32f1xx_hal_msp.c(70): warning: #223-D: function "__HAL_RCC_AFIO_CLK_ENABLE" declared implicitly __HAL_RCC_AFIO_CLK_ENABLE(); ../Core/Src/stm32f1xx_hal_msp.c(71): warning: #223-D: function "__HAL_RCC_PWR_CLK_ENABLE" declared implicitly __HAL_RCC_PWR_CLK_ENABLE(); ../Core/Src/stm32f1xx_hal_msp.c(77): warning: #223-D: function "__HAL_AFIO_REMAP_SWJ_NOJTAG" declared implicitly __HAL_AFIO_REMAP_SWJ_NOJTAG(); ../Core/Src/stm32f1xx_hal_msp.c: 3 warnings, 1 error compiling stm32f1xx_it.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Src/stm32f1xx_it.c(58): error: #20: identifier "UART_HandleTypeDef" is undefined extern UART_HandleTypeDef huart3; ../Core/Src/stm32f1xx_it.c(188): warning: #223-D: function "HAL_IncTick" declared implicitly HAL_IncTick(); ../Core/Src/stm32f1xx_it.c(209): warning: #223-D: function "HAL_UART_IRQHandler" declared implicitly HAL_UART_IRQHandler(&huart3); ../Core/Src/stm32f1xx_it.c: 2 warnings, 2 errors compiling usart.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/usart.h(37): error: #20: identifier "uint16_t" is undefined extern uint16_t current_freq; ../Core/Inc/usart.h(38): error: #20: identifier "uint16_t" is undefined extern uint16_t current_duty; ../Core/Inc/usart.h(41): error: #20: identifier "UART_HandleTypeDef" is undefined extern UART_HandleTypeDef huart3; ../Core/Inc/usart.h(45): error: #20: identifier "uint32_t" is undefined void VOFA_Send(float *data, uint32_t count); ../Core/Src/usart.c(24): error: #20: identifier "uint8_t" is undefined const uint8_t firewave_head[FIREWAVE_HEAD_LEN] = {0xAA, 0x07, 0x00, 0x00}; ../Core/Src/usart.c(25): error: #20: identifier "uint8_t" is undefined const uint8_t firewave_tail[FIREWAVE_TAIL_LEN] = {0x00, 0x00, 0x07, 0xAA}; ../Core/Src/usart.c(30): error: #20: identifier "UART_HandleTypeDef" is undefined UART_HandleTypeDef huart3; ../Core/Src/usart.c(44): error: #20: identifier "USART3" is undefined huart3.Instance = USART3; ../Core/Src/usart.c(46): error: #20: identifier "UART_WORDLENGTH_8B" is undefined huart3.Init.WordLength = UART_WORDLENGTH_8B; ../Core/Src/usart.c(47): error: #20: identifier "UART_STOPBITS_1" is undefined huart3.Init.StopBits = UART_STOPBITS_1; ../Core/Src/usart.c(48): error: #20: identifier "UART_PARITY_NONE" is undefined huart3.Init.Parity = UART_PARITY_NONE; ../Core/Src/usart.c(49): error: #20: identifier "UART_MODE_TX_RX" is undefined huart3.Init.Mode = UART_MODE_TX_RX; ../Core/Src/usart.c(50): error: #20: identifier "UART_HWCONTROL_NONE" is undefined huart3.Init.HwFlowCtl = UART_HWCONTROL_NONE; ../Core/Src/usart.c(51): error: #20: identifier "UART_OVERSAMPLING_16" is undefined huart3.Init.OverSampling = UART_OVERSAMPLING_16; ../Core/Src/usart.c(52): warning: #223-D: function "HAL_UART_Init" declared implicitly if (HAL_UART_Init(&huart3) != HAL_OK) ../Core/Src/usart.c(52): error: #20: identifier "HAL_OK" is undefined if (HAL_UART_Init(&huart3) != HAL_OK) ../Core/Src/usart.c(54): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/usart.c(62): error: #20: identifier "UART_HandleTypeDef" is undefined void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle) ../Core/Src/usart.c(65): error: #20: identifier "GPIO_InitTypeDef" is undefined GPIO_InitTypeDef GPIO_InitStruct = {0}; ../Core/Src/usart.c(66): error: #20: identifier "USART3" is undefined if(uartHandle->Instance==USART3) ../Core/Src/usart.c(72): warning: #223-D: function "__HAL_RCC_USART3_CLK_ENABLE" declared implicitly __HAL_RCC_USART3_CLK_ENABLE(); ../Core/Src/usart.c(74): warning: #223-D: function "__HAL_RCC_GPIOB_CLK_ENABLE" declared implicitly __HAL_RCC_GPIOB_CLK_ENABLE(); ../Core/Src/usart.c(79): error: #20: identifier "GPIO_PIN_10" is undefined GPIO_InitStruct.Pin = GPIO_PIN_10; ../Core/Src/usart.c(80): error: #20: identifier "GPIO_MODE_AF_PP" is undefined GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; ../Core/Src/usart.c(81): error: #20: identifier "GPIO_SPEED_FREQ_HIGH" is undefined GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; ../Core/Src/usart.c(82): warning: #223-D: function "HAL_GPIO_Init" declared implicitly HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); ../Core/Src/usart.c(82): error: #20: identifier "GPIOB" is undefined HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); ../Core/Src/usart.c(84): error: #20: identifier "GPIO_PIN_11" is undefined GPIO_InitStruct.Pin = GPIO_PIN_11; ../Core/Src/usart.c(85): error: #20: identifier "GPIO_MODE_INPUT" is undefined GPIO_InitStruct.Mode = GPIO_MODE_INPUT; ../Core/Src/usart.c(86): error: #20: identifier "GPIO_NOPULL" is undefined GPIO_InitStruct.Pull = GPIO_NOPULL; ../Core/Src/usart.c(90): warning: #223-D: function "HAL_NVIC_SetPriority" declared implicitly HAL_NVIC_SetPriority(USART3_IRQn, 0, 0); ../Core/Src/usart.c(90): error: #20: identifier "USART3_IRQn" is undefined HAL_NVIC_SetPriority(USART3_IRQn, 0, 0); ../Core/Src/usart.c(91): warning: #223-D: function "HAL_NVIC_EnableIRQ" declared implicitly HAL_NVIC_EnableIRQ(USART3_IRQn); ../Core/Src/usart.c(98): error: #20: identifier "UART_HandleTypeDef" is undefined void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle) ../Core/Src/usart.c(101): error: #20: identifier "USART3" is undefined if(uartHandle->Instance==USART3) ../Core/Src/usart.c(107): warning: #223-D: function "__HAL_RCC_USART3_CLK_DISABLE" declared implicitly __HAL_RCC_USART3_CLK_DISABLE(); ../Core/Src/usart.c(113): warning: #223-D: function "HAL_GPIO_DeInit" declared implicitly HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10|GPIO_PIN_11); ../Core/Src/usart.c(113): error: #20: identifier "GPIOB" is undefined HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10|GPIO_PIN_11); ../Core/Src/usart.c: 9 warnings, 30 errors compiling tim.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/tim.h(32): error: #20: identifier "uint16_t" is undefined extern uint16_t current_freq; ../Core/Inc/tim.h(33): error: #20: identifier "uint16_t" is undefined extern uint16_t current_duty; ../Core/Inc/tim.h(36): error: #20: identifier "TIM_HandleTypeDef" is undefined extern TIM_HandleTypeDef htim1; ../Core/Inc/tim.h(38): error: #20: identifier "TIM_HandleTypeDef" is undefined extern TIM_HandleTypeDef htim2; ../Core/Inc/tim.h(40): error: #20: identifier "TIM_HandleTypeDef" is undefined extern TIM_HandleTypeDef htim3; ../Core/Inc/tim.h(42): error: #20: identifier "TIM_HandleTypeDef" is undefined extern TIM_HandleTypeDef htim4; ../Core/Inc/tim.h(53): error: #20: identifier "TIM_HandleTypeDef" is undefined void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); ../Core/Src/tim.c(27): error: #20: identifier "TIM_HandleTypeDef" is undefined TIM_HandleTypeDef htim1; ../Core/Src/tim.c(28): error: #20: identifier "TIM_HandleTypeDef" is undefined TIM_HandleTypeDef htim2; ../Core/Src/tim.c(29): error: #20: identifier "TIM_HandleTypeDef" is undefined TIM_HandleTypeDef htim3; ../Core/Src/tim.c(30): error: #20: identifier "TIM_HandleTypeDef" is undefined TIM_HandleTypeDef htim4; ../Core/Src/tim.c(40): error: #20: identifier "TIM_ClockConfigTypeDef" is undefined TIM_ClockConfigTypeDef sClockSourceConfig = {0}; ../Core/Src/tim.c(41): error: #20: identifier "TIM_MasterConfigTypeDef" is undefined TIM_MasterConfigTypeDef sMasterConfig = {0}; ../Core/Src/tim.c(42): error: #20: identifier "TIM_OC_InitTypeDef" is undefined TIM_OC_InitTypeDef sConfigOC = {0}; ../Core/Src/tim.c(43): error: #20: identifier "TIM_BreakDeadTimeConfigTypeDef" is undefined TIM_BreakDeadTimeConfigTypeDef sBreakDeadTimeConfig = {0}; ../Core/Src/tim.c(48): error: #20: identifier "TIM1" is undefined htim1.Instance = TIM1; ../Core/Src/tim.c(50): error: #20: identifier "TIM_COUNTERMODE_UP" is undefined htim1.Init.CounterMode = TIM_COUNTERMODE_UP; ../Core/Src/tim.c(52): error: #20: identifier "TIM_CLOCKDIVISION_DIV1" is undefined htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; ../Core/Src/tim.c(54): error: #20: identifier "TIM_AUTORELOAD_PRELOAD_ENABLE" is undefined htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE; ../Core/Src/tim.c(55): warning: #223-D: function "HAL_TIM_Base_Init" declared implicitly if (HAL_TIM_Base_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(55): error: #20: identifier "HAL_OK" is undefined if (HAL_TIM_Base_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(57): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/tim.c(59): error: #20: identifier "TIM_CLOCKSOURCE_INTERNAL" is undefined sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; ../Core/Src/tim.c(60): warning: #223-D: function "HAL_TIM_ConfigClockSource" declared implicitly if (HAL_TIM_ConfigClockSource(&htim1, &sClockSourceConfig) != HAL_OK) ../Core/Src/tim.c(60): error: #20: identifier "HAL_OK" is undefined if (HAL_TIM_ConfigClockSource(&htim1, &sClockSourceConfig) != HAL_OK) ../Core/Src/tim.c(62): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/tim.c(64): warning: #223-D: function "HAL_TIM_PWM_Init" declared implicitly if (HAL_TIM_PWM_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(64): error: #20: identifier "HAL_OK" is undefined if (HAL_TIM_PWM_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(66): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/tim.c(68): warning: #223-D: function "HAL_TIM_OC_Init" declared implicitly if (HAL_TIM_OC_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(68): error: #20: identifier "HAL_OK" is undefined if (HAL_TIM_OC_Init(&htim1) != HAL_OK) ../Core/Src/tim.c(70): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/tim.c(72): error: #20: identifier "TIM_TRGO_RESET" is undefined sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; ../Core/Src/tim.c(73): error: #20: identifier "TIM_MASTERSLAVEMODE_DISABLE" is undefined sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; ../Core/Src/tim.c(74): warning: #223-D: function "HAL_TIMEx_MasterConfigSynchronization" declared implicitly if (HAL_TIMEx_MasterConfigSynchronization(&htim1, &sMasterConfig) != HAL_OK) ../Core/Src/tim.c(74): error: #20: identifier "HAL_OK" is undefined if (HAL_TIMEx_MasterConfigSynchronization(&htim1, &sMasterConfig) != HAL_OK) ../Core/Src/tim.c(76): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/tim.c(78): error: #20: identifier "TIM_OCMODE_PWM1" is undefined sConfigOC.OCMode = TIM_OCMODE_PWM1; ../Core/Src/tim.c(80): error: #20: identifier "TIM_OCPOLARITY_HIGH" is undefined sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; ../Core/Src/tim.c: 10 warnings, 30 errors compiling gpio.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Src/gpio.c(45): error: #20: identifier "GPIO_InitTypeDef" is undefined GPIO_InitTypeDef GPIO_InitStruct = {0}; ../Core/Src/gpio.c(48): warning: #223-D: function "__HAL_RCC_GPIOD_CLK_ENABLE" declared implicitly __HAL_RCC_GPIOD_CLK_ENABLE(); ../Core/Src/gpio.c(49): warning: #223-D: function "__HAL_RCC_GPIOA_CLK_ENABLE" declared implicitly __HAL_RCC_GPIOA_CLK_ENABLE(); ../Core/Src/gpio.c(50): warning: #223-D: function "__HAL_RCC_GPIOB_CLK_ENABLE" declared implicitly __HAL_RCC_GPIOB_CLK_ENABLE(); ../Core/Src/gpio.c(54): error: #20: identifier "K3_Pin" is undefined GPIO_InitStruct.Pin = K3_Pin|K4_Pin|K5_Pin|K6_Pin ../Core/Src/gpio.c(54): error: #20: identifier "K4_Pin" is undefined GPIO_InitStruct.Pin = K3_Pin|K4_Pin|K5_Pin|K6_Pin ../Core/Src/gpio.c(54): error: #20: identifier "K5_Pin" is undefined GPIO_InitStruct.Pin = K3_Pin|K4_Pin|K5_Pin|K6_Pin ../Core/Src/gpio.c(54): error: #20: identifier "K6_Pin" is undefined GPIO_InitStruct.Pin = K3_Pin|K4_Pin|K5_Pin|K6_Pin ../Core/Src/gpio.c(55): error: #20: identifier "K1_Pin" is undefined |K1_Pin|K2_Pin; ../Core/Src/gpio.c(55): error: #20: identifier "K2_Pin" is undefined |K1_Pin|K2_Pin; ../Core/Src/gpio.c(56): error: #20: identifier "GPIO_MODE_INPUT" is undefined GPIO_InitStruct.Mode = GPIO_MODE_INPUT; ../Core/Src/gpio.c(57): error: #20: identifier "GPIO_PULLUP" is undefined GPIO_InitStruct.Pull = GPIO_PULLUP; ../Core/Src/gpio.c(58): warning: #223-D: function "HAL_GPIO_Init" declared implicitly HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); ../Core/Src/gpio.c(58): error: #20: identifier "GPIOA" is undefined HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); ../Core/Src/gpio.c: 4 warnings, 11 errors compiling key.c... key.h(16): warning: #1-D: last line of file ends without a newline #endif ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H key.c(96): error: #20: identifier "target_frequency" is undefined target_frequency = (float)current_freq; key.c(97): error: #20: identifier "target_duty_cycle" is undefined target_duty_cycle = (float)current_duty; key.c: 1 warning, 4 errors compiling main.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Src/main.c(104): error: #20: identifier "htim1" is undefined uint16_t arr1 = _HAL_TIM_GET_AUTORELOAD(&htim1); ../Core/Src/main.c(110): error: #20: identifier "htim2" is undefined uint16_t arr2 = _HAL_TIM_GET_AUTORELOAD(&htim2); ../Core/Src/main.c(116): error: #20: identifier "htim3" is undefined uint16_t arr3 = _HAL_TIM_GET_AUTORELOAD(&htim3); ../Core/Src/main.c(122): error: #20: identifier "htim4" is undefined uint16_t arr4 = _HAL_TIM_GET_AUTORELOAD(&htim4); ../Core/Src/main.c(157): error: #20: identifier "htim1" is undefined htim1.Instance->ARR = arr; ../Core/Src/main.c(163): error: #20: identifier "htim1" is undefined htim1.Instance->CCR2 = htim1.Instance->ARR * current_duty / 100; ../Core/Src/main.c(192): error: #20: identifier "huart3" is undefined HAL_UART_Transmit(&huart3, (uint8_t *)&ch, 1, 0xffff); ../Core/Src/main.c(226): warning: #223-D: function "MX_GPIO_Init" declared implicitly MX_GPIO_Init(); ../Core/Src/main.c(227): warning: #223-D: function "MX_TIM2_Init" declared implicitly MX_TIM2_Init(); ../Core/Src/main.c(228): warning: #223-D: function "MX_TIM1_Init" declared implicitly MX_TIM1_Init(); ../Core/Src/main.c(229): warning: #223-D: function "MX_TIM3_Init" declared implicitly MX_TIM3_Init(); ../Core/Src/main.c(230): warning: #223-D: function "MX_TIM4_Init" declared implicitly MX_TIM4_Init(); ../Core/Src/main.c(231): warning: #223-D: function "MX_I2C1_Init" declared implicitly MX_I2C1_Init(); ../Core/Src/main.c(232): warning: #223-D: function "MX_USART3_UART_Init" declared implicitly MX_USART3_UART_Init(); ../Core/Src/main.c(234): error: #20: identifier "htim1" is undefined HAL_TIM_PWM_Start(&htim1,TIM_CHANNEL_1); ../Core/Src/main.c(235): error: #20: identifier "htim2" is undefined HAL_TIM_PWM_Start(&htim2,TIM_CHANNEL_1); ../Core/Src/main.c(236): error: #20: identifier "htim3" is undefined HAL_TIM_PWM_Start(&htim3,TIM_CHANNEL_1); ../Core/Src/main.c(237): error: #20: identifier "htim4" is undefined HAL_TIM_PWM_Start(&htim4,TIM_CHANNEL_3); ../Core/Src/main.c(347): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/main.c(361): warning: #223-D: function "Error_Handler" declared implicitly Error_Handler(); ../Core/Src/main.c(373): error: #159: declaration is incompatible with previous "Error_Handler" (declared at line 347) void Error_Handler(void) ../Core/Src/main.c(101): warning: #177-D: function "BreathingLight" was declared but never referenced static void BreathingLight(void){ ../Core/Src/main.c: 10 warnings, 17 errors compiling sdd1306.c... ../Core/Inc/main.h(22): error: #37: the #endif for this directive is missing #ifndef __MAIN_H ../Core/Inc/i2c.h(35): error: #20: identifier "I2C_HandleTypeDef" is undefined extern I2C_HandleTypeDef hi2c1; ..\Core\Src\sdd1306.c(257): warning: #177-D: variable "x_start_cycle" was declared but never referenced int x_start_cycle = current_x; ..\Core\Src\sdd1306.c(13): warning: #177-D: variable "wave_x" was declared but never referenced static uint8_t wave_x = 0; // 波形当前的X坐标 ..\Core\Src\sdd1306.c: 2 warnings, 2 errors "BreathingLightProMax\BreathingLightProMax.axf" - 120 Error(s), 48 Warning(s). Target not created.
最新发布
11-27
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Build target 'APP' assembling startup_stm32f103xb.s... compiling stm32f1xx_it.c... ../Core/Src/stm32f1xx_it.c(247): error: #20: identifier "UART_CLEAR_NEF" is undefined _HAL_UART_CLEAR_FLAG(&huart1, UART_CLEAR_NEF); // 清除中断标志[^1] ../Core/Src/stm32f1xx_it.c: 0 warnings, 1 error compiling main.c... ../Core/Src/main.c(98): error: #20: identifier "hdma_usart1_tx" is undefined NABLE_DMA(); // 启用自定义DMA配置 ../Core/Src/main.c(111): warning: #223-D: function "task_run" declared implicitly task_run(); ../Core/Src/main.c: 1 warning, 1 error compiling dma.c... ../Core/Src/dma.c(42): error: #65: expected a ";" void Custom_DMA_Config(DMA_HandleTypeDef *hdma) { ../Core/Src/dma.c(56): warning: #12-D: parsing restarts here after previous syntax error HAL_NVIC_SetPriority(DMA1_Channel5_IRQn, 0, 0); ../Core/Src/dma.c: 1 warning, 1 error compiling usart.c... ../Core/Src/usart.c(27): error: #148: variable "rx_flag" has already been initialized volatile uint8_t rx_flag = 0; ../Core/Src/usart.c(31): error: #148: variable "rx_length" has already been initialized uint16_t rx_length = 0; ../Core/Src/usart.c(32): error: #147: declaration is incompatible with "uint8_t rx_buffer[256]" (declared at line 32 of "../APP/bsp.h") extern uint8_t rx_buffer[128]; ../Core/Src/usart.c(63): error: #18: expected a ")" HAL_UART_Receive_IT(&huart1,uart_rx_buffer,1 sizeof(rx_buffer)); ../Core/Src/usart.c: 0 warnings, 4 errors compiling stm32f1xx_hal_msp.c... compiling gpio.c... compiling tim.c... compiling stm32f1xx_hal_gpio_ex.c... compiling stm32f1xx_hal_rcc_ex.c... compiling stm32f1xx_hal_rcc.c... compiling stm32f1xx_hal.c... compiling stm32f1xx_hal_gpio.c... compiling stm32f1xx_hal_tim_ex.c... compiling stm32f1xx_hal_tim.c... compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal_cortex.c... compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_exti.c... compiling stm32f1xx_hal_flash.c... compiling stm32f1xx_hal_flash_ex.c... compiling stm32f1xx_hal_uart.c... compiling periph.c... compiling uart_app.c... ..\APP\uart_app.c(3): error: #20: identifier "UART_HandLeTypeDef" is undefined void HAL_UART_TxCpLtCallback(UART_HandLeTypeDef *huart) ..\APP\uart_app.c(15): error: #7: unrecognized token if(uart_rx_index == 0)return; ..\APP\uart_app.c(15): error: #125: expected a "(" if(uart_rx_index == 0)return; ..\APP\uart_app.c(15): error: #7: unrecognized token if(uart_rx_index == 0)return; ..\APP\uart_app.c(25): warning: #1-D: last line of file ends without a newline } ..\APP\uart_app.c: 1 warning, 4 errors compiling system_stm32f1xx.c... compiling system.c... compiling schedule.c... ..\APP\schedule.c(64): warning: #1-D: last line of file ends without a newline ..\APP\schedule.c: 1 warning, 0 errors compiling logic.c... "APP\APP.axf" - 11 Error(s), 4 Warning(s). Target not created. Build Time Elapsed: 00:00:17
07-20
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值