cancel
Showing results for 
Search instead for 
Did you mean: 

Missing File STM32G070 on Keil

DRobe.4
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions
DRobe.4
Senior

Solved. I figured out how to add more include paths

View solution in original post

1 REPLY 1
DRobe.4
Senior

Solved. I figured out how to add more include paths