2016-12-19 02:16 PM
I have defined all my pins using STM32Cube but I do not see a control that lets me turn off HAL drivers. Could someone tell me how to turn off driver code development?
Thanks,
John Hite
#stm32cube2016-12-19 06:34 PM
Hi
jayvincet
I&39ve moved this post to
where product-related questions should be posted so if you have any more in the future drop them here as well .Thanks
Oli
2016-12-20 10:13 AM
Dear
Vincet.Jay
,You can use STM32CubeMX tool with the peripherals that you want which help you to initialize peripherals, build and generate your project with initialization C code.This allow you to choose the microcontroller, select the peripherals you want and map them to pins graphically.
Take a look to these reference for more detail about STM32CubeMX tool:STM32CubeMX
user Manualhttps://st-videos.s3.amazonaws.com/vid_getting_started_stm32cubemx.mp4
Moreover, you can start from working example under STM32CubeXX firmware package, in the context of understanding the tools and you find the needed include parts for your project. Then, you can modify the application depending on your needs.
The reference Manual and datasheet related to your device will be your support for more clarification about the HAL driver and configuration the pins. I recommend you to start with 'Getting started' manuals which allow you to go step by step to start your project.Best Regards
-Imen-