Setup a CMSIS only project in cubeIDE (no HAL)

First start by creating an empty project

image 3.png

then open project properties and navigate to includes

image.png

add add these tow folders
(note if you didn’t find these folders create a regular stm32 project and cubeide will download them for you)

image.png

image.png

you can find the full list of MCUs in the stm32fxxx.h file

image.png