Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
That's may not be a bug because I saw it in AGCM4 that is not currently supported.
M43 uses analogRead to read analog value when an analog pin is scanned. This function, in SAMD51, will disable ADC after it has been read. This will stop DMA (that I'm currently using) and hence all analog readings.
I'm wondering if it is possible to add an adc_init call on M43 exit to restore status and if this may be dangerous for other boards (also STM32 uses DMA and may be locked too).
That's may not be a bug because I saw it in AGCM4 that is not currently supported. M43 uses
analogRead
to read analog value when an analog pin is scanned. This function, in SAMD51, will disable ADC after it has been read. This will stop DMA (that I'm currently using) and hence all analog readings.I'm wondering if it is possible to add an
adc_init
call on M43 exit to restore status and if this may be dangerous for other boards (also STM32 uses DMA and may be locked too).