Skip to main content
chriskuku
Senior II
March 22, 2023
Solved

HAL vs. CMSIS layer in STM32CubeIDE (CubeMX)

  • March 22, 2023
  • 2 replies
  • 1463 views

Hi,

I'm wondering whether I'm always getting into the HAL layer when configuring a project using the CubeMX configurator in STM32CubeIDE? Is it configurable? How to I get rid of the HAL layer while still being able to use the configurator? Where is the decision taken?

EDIT: found it. was up to delete my question but I'll leave the answer here anyway.

In the project manager tab one can configure whether one wishes to generate HAL or LL code.

This topic has been closed for replies.
Best answer by Peter BENSCH

Correct, you have to click on the respective line in the Project Manager to be able to choose between LL and HAL. 

Regards

/Peter

2 replies

chriskuku
chriskukuAuthor
Senior II
March 22, 2023

Just was about to answer :)

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
March 22, 2023

Correct, you have to click on the respective line in the Project Manager to be able to choose between LL and HAL. 

Regards

/Peter