staticintadc_resume(struct soc_device *dev,enumsuspend_state_tstate){staticADC_Channel chan;switch(state) {casePM_MODE_SLEEP:break;casePM_MODE_STANDBY:casePM_MODE_HIBERNATION:HAL_ADC_Init(&hal_adc_param);for(chan = ADC_CHANNEL_0; chan < ADC_CHANNEL_NUM; chan++) {if(hal_adc_chan_config...
I've been trying for hours to read an analog value from a pin and write it over UART with no success on my STM32MP1. I've assigned PF14 to ADC2_INN2 and set IN2 to "IN2 Differential", then I generate the code and when I try to build I get a bunch of errors with regards ...
.\Objects\charger_stm32f0.axf: Error: L6218E: Undefined symbol HAL_ADC_ConfigChannel (referred from main.o)..\Objects\charger_stm32f0.axf: Error: L6218E: Undefined symbol HAL_ADC_Init (referred from main.o).Not enough information to list image symbols.Finished: 1 info...