How to have both HAL and LL driver files for the same component?
Hello,
I'm following this tutorial to "play" with ADC.
https://www.youtube.com/watch?v=pLsAhJ8umJk&list=PLnMKNibPkDnFCosVVv98U5dCulE6T3Iy8&index=10
At the end (27:30), it is using a LL function for the ADC driver, while during all the video it is using the HAL driver.
There is no problem because both stm32g0xx_hal_adc.h/c and stm32g0xx_ll_adc.h/c files are included in the projet.
In my project (i'm using L073RZ mcu) I have to select HAL or LL for the ADC driver in the ProjectManager->Advanced Settings of STM32CubeMX. So I cannot select both, and only HAL or LL files are included in STM32CubeIDE project.
As a consequence I cannot use the __LL_ADC_CALC_TEMPERATURE macro.
So how to add both HAL and LL files in the project?
I'm working with STMCubeIDE 1.4.0.
Thank you
