Solved
Github STM32Cube4 v1.6.2 does not contain core_cm4.h anymore
As mentioned in the title already, the file core_cm4.h is not contained in the recent version of
https://github.com/STMicroelectronics/STM32CubeG4
anymore.
Selecting the v1.6.1. in that repo the file is contained.
Looks like there was an error genererating the new version.
