2023-05-29 6:05 PM - last edited on 2025-04-01 8:17 AM by Andrew Neil
The ST docs all refer me back to using HAL with CubeMX however I see many suggesting staying away from it.
I could not find where to download and use libraries such as CMSIS for my STM32F407G Disco board
Are the libraries I need already in my CubeIDE project somewhere? I rather not use only bare metal, so CMSIS would be the way to go right?
2025-08-29 9:02 AM
@waclawek.jan wrote:...
Note, that ST pushes Cube, mostly in its HAL form, and refuses to work on register based examples.
That link is broken.
2025-08-31 6:16 AM - edited 2025-08-31 6:19 AM
Just creat in CubeIDE empty project.
Oryginal CMSIS you can easly GET from GIT repository from ARM https://github.com/ARM-software/CMSIS_6
Device headers you can exctract from HAL packege,
Or in simpler way, create project, do not configure anything, remove hal drivers,
Basically, for start You need only, linker file, startup file, and main file, that is all.
Googole for "bare matel stm32 programming" or "register orienteded stm32 programimg"