-
Notifications
You must be signed in to change notification settings - Fork 30
error: 'LL_ADC_PATH_INTERNAL_VBAT' undeclared #2
Copy link
Copy link
Open
Description
If
#define MICROPY_HW_ENABLE_ADC (1)
is set, then I got the following error during compiling:
In file included from machine_adc.c:29:
adc.h: In function 'adc_deselect_vbat':
adc.h:50:29: error: 'LL_ADC_PATH_INTERNAL_VBAT' undeclared (first use in this function)
50 | adc_common->CCR &= ~LL_ADC_PATH_INTERNAL_VBAT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
adc.h:50:29: note: each undeclared identifier is reported only once for each function it appears in
CC machine_timer.c
make: *** [build-WeAct_F411CE-MicroPython/machine_adc.o] Error 1
make: *** Waiting for unfinished jobs....
Any ideas how can I fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels