2023-04-30 06:23 PM
uVision V5.38.0.0 Trying to compile first program for STM32G0 and don't even get to the real compilation errors yet.
Single file except for includes:
#include "stm32g070xx.h"
#include "stm32g0xx_hal.h"
The warning and error are:
ERNode_G070.c(61): warning: In file included from...
C:/Users/ashto/AppData/Local/Arm/Packs/Keil/STM32G0xx_DFP/1.4.0/Drivers/CMSIS/Device/ST/STM32G0xx/Include\stm32g070xx.h(103): warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions]
USART3_4_IRQn = 29, /*!< USART3, USART4 globlal Interrupts */
^~
C:/Users/ashto/AppData/Local/Arm/Packs/Keil/STM32G0xx_DFP/1.4.0/Drivers/CMSIS/Device/ST/STM32G0xx/Include\stm32g070xx.h(110): error: 'core_cm0plus.h' file not found
#include "core_cm0plus.h" /* Cortex-M0+ processor and core peripherals */
^~~~~~~~~~~~~~~~
1 warning and 1 error generated.
Thanks.
Solved! Go to Solution.
2023-05-01 08:07 AM
Solved. I figured out how to add more include paths
2023-05-01 08:07 AM
Solved. I figured out how to add more include paths