cancel
Showing results for 
Search instead for 
Did you mean: 

HAL vs. CMSIS layer in STM32CubeIDE (CubeMX)

chriskuku
Senior II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

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

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
chriskuku
Senior II

Just was about to answer :)

Peter BENSCH
ST Employee

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

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.