diff options
author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-09 21:03:09 +0200 |
---|---|---|
committer | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-16 11:48:52 +0200 |
commit | 95d0d1c48675c946a3c3dd1c2f9ab293f21bb943 (patch) | |
tree | d1c9c43f3fc98d99e427788105ba83ebe7944880 | |
parent | b776fe69692e92497c7aae0f38dfcbe14b2ca024 (diff) |
nrf/boards: Enable RTCounter machine module for nrf9160 boards.
Resolves dependencies for MICROPY_PY_TIME_TICKS which
requires to link against nrfx_rtc.c functions by setting
MICROPY_PY_MACHINE_RTCOUNTER to 1.
-rw-r--r-- | ports/nrf/boards/actinius_icarus/mpconfigboard.h | 2 | ||||
-rw-r--r-- | ports/nrf/boards/pca10090/mpconfigboard.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/boards/actinius_icarus/mpconfigboard.h b/ports/nrf/boards/actinius_icarus/mpconfigboard.h index e344d2d6d..e99d731df 100644 --- a/ports/nrf/boards/actinius_icarus/mpconfigboard.h +++ b/ports/nrf/boards/actinius_icarus/mpconfigboard.h @@ -34,7 +34,7 @@ #define MICROPY_PY_MACHINE_HW_PWM (0) #define MICROPY_PY_MACHINE_HW_SPI (1) #define MICROPY_PY_MACHINE_TIMER (1) -#define MICROPY_PY_MACHINE_RTCOUNTER (0) +#define MICROPY_PY_MACHINE_RTCOUNTER (1) #define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_MACHINE_ADC (0) #define MICROPY_PY_MACHINE_TEMP (0) diff --git a/ports/nrf/boards/pca10090/mpconfigboard.h b/ports/nrf/boards/pca10090/mpconfigboard.h index e4e514290..28381c40d 100644 --- a/ports/nrf/boards/pca10090/mpconfigboard.h +++ b/ports/nrf/boards/pca10090/mpconfigboard.h @@ -34,7 +34,7 @@ #define MICROPY_PY_MACHINE_HW_PWM (0) #define MICROPY_PY_MACHINE_HW_SPI (1) #define MICROPY_PY_MACHINE_TIMER (0) -#define MICROPY_PY_MACHINE_RTCOUNTER (0) +#define MICROPY_PY_MACHINE_RTCOUNTER (1) #define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_MACHINE_ADC (0) #define MICROPY_PY_MACHINE_TEMP (0) |