diff --git a/nrf5/boards/pca10028/mpconfigboard.h b/nrf5/boards/pca10028/mpconfigboard.h index 1c3f5bf02a..1e44ceef1a 100644 --- a/nrf5/boards/pca10028/mpconfigboard.h +++ b/nrf5/boards/pca10028/mpconfigboard.h @@ -34,6 +34,7 @@ #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_RTC (1) #define MICROPY_PY_MACHINE_HW_I2C (1) +#define MICROPY_PY_MACHINE_ADC (1) #define MICROPY_PY_USOCKET (0) #define MICROPY_PY_NETWORK (0) diff --git a/nrf5/boards/pca10040/mpconfigboard.h b/nrf5/boards/pca10040/mpconfigboard.h index b5a41264f8..e5d0106087 100644 --- a/nrf5/boards/pca10040/mpconfigboard.h +++ b/nrf5/boards/pca10040/mpconfigboard.h @@ -35,6 +35,7 @@ #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_RTC (1) #define MICROPY_PY_MACHINE_HW_I2C (1) +#define MICROPY_PY_MACHINE_ADC (1) #define MICROPY_PY_DISPLAY (1) #define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1) diff --git a/nrf5/boards/pca10056/mpconfigboard.h b/nrf5/boards/pca10056/mpconfigboard.h index ed0070301a..2e08970d9d 100644 --- a/nrf5/boards/pca10056/mpconfigboard.h +++ b/nrf5/boards/pca10056/mpconfigboard.h @@ -33,6 +33,7 @@ #define MICROPY_PY_MACHINE_PWM (1) #define MICROPY_PY_MACHINE_SPI (1) #define MICROPY_PY_MACHINE_HW_I2C (1) +#define MICROPY_PY_MACHINE_ADC (1) #define MICROPY_PY_DISPLAY (1) #define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1)