mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 13:01:10 +02:00
Works in the usual USB DFU mode, and can program external SPI flash. It will enable XSPI memory-mapped mode before jumping to the application firmware in the external SPI flash. Signed-off-by: Damien George <damien@micropython.org>
6 lines
175 B
C
6 lines
175 B
C
// Include the main ADC driver, so mboot can use adc_config() and adc_config_and_read_u16().
|
|
#include "py/obj.h"
|
|
#if MICROPY_PY_MACHINE_ADC
|
|
#include "../machine_adc.c"
|
|
#endif
|