Closed GMagician closed 5 years ago
I think it's done already here:
https://github.com/arduino/ArduinoCore-samd/blob/master/cores/arduino/startup.c#L287
mmm samd51 has 2 adc and such code is not present in core I have, coming from platformio (adafruit). I wrongly though such core was originated from here
lol this core si for samd21...now it's all clear to me..sorry
Samd51 has a special reserved are with calibration values, its address is 0x00800080.
In this area there are some ADC calibration values that "software" has to load (ADCx BIASCOMP, ADCx BIASREFBUF, ADCx BIASR2R, ...). Since there is no reference to such memory address in this core then I think that these values are never loaded by anyone...
Is not a good solution to add defines for this area?