Re: How to use STM32 HAL drives
toggle quoted message Show quoted text
This is the correct understanding, you need to modify Makefile/Kbuild to access HAL drivers.
Then, if you need to use some driver in an application, you'd theoretically use zephyr HW API and drivers (based on HAL or directly accessing HW).
Then,CONFIG flags actually control the compilation but through activation of Zephyr drivers.
For instance for GPIO:
Of course, you can directly access stm32cube HAL in your application if you want to, but this is not the usual use foreseen by Zephyr architecture.
On 14 September 2017 at 15:30, massimiliano cialdi <massimiliano.cialdi@...> wrote:
In an application I need to use STM32 HAL driver, for example GPIO, FSMC and others.