2023-04-03 07:15 AM
STM32CubeIDE 1.12
STM32G0B0RE micro
We have an older Cube project from a STM32F0 series that needs to be changed to the larger STM32G0B0 chip. We thought that we would just create a new project with the new micro and port in the older code. When we create the new project there does not appear anywhere in the selection process to have it use the Low Level drivers instead of the HAL.
A project has been created where the Drivers directoy has a STM32G0xx_HAL_Drivers directory.
Is there any way to have project creation use Low Level Drivers?
Thanks.
Solved! Go to Solution.
2023-04-03 09:08 AM
Hello
Open the .ioc file by double clicking at STM32CubeIDE and then select project manager -> Advanced settings. There is driver selctor- list where can select HAL or LL driver for each activated MCU block.
2023-04-03 09:08 AM
Hello
Open the .ioc file by double clicking at STM32CubeIDE and then select project manager -> Advanced settings. There is driver selctor- list where can select HAL or LL driver for each activated MCU block.
2023-04-03 09:28 AM
In addition, in STM32CubeMX you may try the Pinout > List compatible MCUs dialog which may help porting your existing project.
hth
KnarfB
2023-04-03 12:13 PM
Thanks. It's too bad they don't give you the option to use LL from the beginning.
2023-04-03 12:21 PM
Some of the port has gone well but there are sections(Serial/DMA definitions) that the includes get tangled up between using the HAL and the Low Level definition files. The original code was the old Standard Peripheral Drivers. Currently trying to figure out why it can't find DMA_HandleTypeDef definition. Appreciate the help.
2024-03-18 01:34 PM
There doesn't seem to be a LL option for peripheral ETH on the NUCLEO-F429ZI
cube 6.11.0
2024-03-18 03:35 PM - edited 2024-03-18 03:35 PM
Right. For some complex drivers, like USB, ETH ...there is no LL driver existing - as you can see.