How to use LL (low level) drivers in CubeMX STM32?

from project manager under advanced setting from driver selector you can change HAL to LL for all peripherals


Currently (STM32CubeMX v4.23.0) the LL drivers are only generated for L1, L4, F2, F4, F7 series. See the chapter 6.2 STM32Cube code generation using Low Layer drivers For STM32L1, STM32L4, STM32L4+, STM32F2, STM32F4 and STM32F7 Series, STM32CubeMX allows generating peripheral initialization code based either on the peripheral HAL driver or on the peripheral Low Layer (LL) driver.

http://www.st.com/content/ccc/resource/technical/document/user_manual/10/c5/1a/43/3a/70/43/7d/DM00104712.pdf/files/DM00104712.pdf/jcr:content/translations/en.DM00104712.pdf