Hi I’m facing an error trying to compile code for RAK11720, for the command:
arduino-cli compile -b rak_rui:apollo3:WisCoreRAK11720Board . \
--build-path=./build \
--build-property 'build.extra_flags=-DFW_VERSION="v1.7.0" -DHW_v2_2_RAK11720 -D_DEBUG_PRINT=1 -DDEBUG_LORAWAN_HANDLER=0 -DDEBUG_BUTTON_HANDLER=0 -DDEBUG_VTR_HANDLER=0 -DTESTMODE=0 -DINIT_STRUCTURES=0'
I get the following message:
/home/jvech/.arduino15/packages/rak_rui/hardware/apollo3/4.2.4/cores/apollo3/component/core/mcu/apollo3/uhal/uhal_adc.c: In function 'uhal_adc_set_mode':
/home/jvech/.arduino15/packages/rak_rui/hardware/apollo3/4.2.4/cores/apollo3/component/core/mcu/apollo3/uhal/uhal_adc.c:89:14: error: 'UDRV_ADC_MODE_1_5' undeclared (first use in this function); did you mean 'UDRV_ADC_MODE_1_2'?
89 | case UDRV_ADC_MODE_1_5:
| ^~~~~~~~~~~~~~~~~
| UDRV_ADC_MODE_1_2
/home/jvech/.arduino15/packages/rak_rui/hardware/apollo3/4.2.4/cores/apollo3/component/core/mcu/apollo3/uhal/uhal_adc.c:89:14: note: each undeclared identifier is reported only once for each function it appears in
Used platform Version Path
rak_rui:apollo3 4.2.4 /home/jvech/.arduino15/packages/rak_rui/hardware/apollo3/4.2.4
The weird thing is I’m not using analog input yet. Is there a known issue with this module in RUI platform?
