cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 HAL Libaries

Ijaz  Ahmad
Associate II
Posted on February 10, 2018 at 09:44

Hi,

I am trying to migrate from STM32 Standard peripheral libraries to HAL libraries. I have few queries here:

1)   Can i use HAL libraries with Keil without first creating project in CubeMX? I just want to build my project just from skretch like in case of SPL but every where i see example on how to use CubeMx. CubeMx adds a lot text and comments for user code/variables etc. which sometimes create difficulties maintaining own code. I just want to use HAL libraries by just adding appropriate files to my project. How can i do that?

2)   I can't see any direct link to HAL libraries on ST website. The download links seems to be downloading CubeMX??

3)  What benefits HAL libraries have over SPL??

#standard-peripheral-libraries #hal-libraries #stm32f4-d
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on February 12, 2018 at 09:44

Ad1. Of course. All the ST-provide examples are not generated by the CubeMX. See Ad2

Ad2.

http://www.st.com/en/embedded-software/stm32cube-mcu-packages.html?querycriteria=productId=LN1897

 

Ad3. Theoretically you can easily migrate from one MCU to another, easy prototyping

View solution in original post

1 REPLY 1
Posted on February 12, 2018 at 09:44

Ad1. Of course. All the ST-provide examples are not generated by the CubeMX. See Ad2

Ad2.

http://www.st.com/en/embedded-software/stm32cube-mcu-packages.html?querycriteria=productId=LN1897

 

Ad3. Theoretically you can easily migrate from one MCU to another, easy prototyping