2023-04-06 07:19 AM - edited 2023-11-20 08:49 AM
Target: NUCLEO-F446RE
I configured ADC1 on IN0, see image below:
When compiling the project, file 'stm32f4xx_ll_adc.c' is 'empty' because all compiler directives are not fullfilled
1) what is file 'stm32f4xx_ll_adc.c' for?
2) is this behaviour a bug or a feature?
3) what to do?
2023-04-06 08:22 AM
Define USE_FULL_LL_DRIVER
2023-05-29 07:29 AM
Hello @MBaum.2gartner ,
I have tried to reproduce this issue but everything works fine from my side for ADC1 on IN0 with CubeIDE version 1.12.1 and CubeMX version 6.8.1.
Could you please provide the used CubeIDE version for this project, also, it would be more helpful to share the full project.
Thanks,
Rim
2023-05-29 10:41 PM - edited 2023-11-20 08:49 AM
Hi Rim
I used CubeIDE 1.12.0. When I manually add the LL-Driver compiling works. See the according entry in the properties below:
But I do not understand why CubeIDE is not intelligent enough to recognize that a configured ADC needs this driver and set the according property automatically.
Best regards, Michael