2018-03-15 09:31 AM
Hi everyone,
My name is Dario and I'm getting the error above when I try to compile my project. What I'm doing is as follow: I'm trying to take advantage of the P2P demo released for the F4 nucleo and based on the IDS01A4 radio shield, but when I try to activate the ADC peripheral on the Nucleo board there is an error in the linking phase. I realize that the stm32f4xx_hal_adc.h is not in the driver files even if I try to add it through a path different from the ones used by the demo project (preprocessor tab). I also tried to eliminate
stm32f4xx_hal_adc.c and add it directely to the Application folder, the problem still persist. Could anyone help me for that kind of problem? Thank you so much
#ids01a4 #hal_adc #stm32f4Solved! Go to Solution.
2018-03-15 10:37 AM
The linker is indicating the lack of the source that should be in the
stm32f4xx_hal_adc.c file
You should check also that the ADC code has been enabled in stm32f4xx_hal_conf.h used by your project. Review the example and template projects.
2018-03-15 10:37 AM
The linker is indicating the lack of the source that should be in the
stm32f4xx_hal_adc.c file
You should check also that the ADC code has been enabled in stm32f4xx_hal_conf.h used by your project. Review the example and template projects.
2018-03-15 03:15 PM
,
,
Hi Clive,
thank you so much for you help, I enabled the ADC MODULE in
stm32f4xx_hal_conf.h and the ADC works correctely. Best regards
Dario Laezza
Il 15 Mar 2018 18:37, 'Clive One' <,st-microelectronics@jiveon.com>, ha
scritto:
STMicroelectronics Community
<,https://community.st.com/?et=watches.email.thread>,
Re: Error[Li005] no definition for 'HAL_ADC_Init'
reply from Clive One
<,
in STM32 MCUs Forum - View the full discussion
<,https://community.st.com/0D70X000006SqtMSAS