cancel
Showing results for 
Search instead for 
Did you mean: 

What is the recommended alternative to using HAL?

LMorr.3
Senior II

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?

11 REPLIES 11

@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.

BMcDo3_0-1756481917519.png

 

Radosław
Senior III

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"