Closed wallarug closed 4 years ago
Files impacted:
bsp/bsp_adc.h
defines syncADC() and adc_trigger()
bsp/bsp_adc.cpp
calls syncADC() -- only file
source/AOADC.cpp
calls adc_trigger() -- only file
The solution for now is to disable ADC1 completely as on the SAMD51J there is only a small number of ADC1s available. With most of the ADC1 pins able to use an ADC0 equiv.
There is an issue with syncADC() as it is not used in the Arduino. So maybe we can exclude it from SeeSaw too?
The function
adc_trigger()
is also an issue as you can have multiple ADCs on SAMD51. This will not work. It is only used insource/AOADC.cpp
so maybe we need to seek guidance on this.From Arduino wiring_analog.c