Browse Source

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.
pull/6235/head
Glenn Ruben Bakke 4 years ago
parent
commit
95d0d1c486
  1. 2
      ports/nrf/boards/actinius_icarus/mpconfigboard.h
  2. 2
      ports/nrf/boards/pca10090/mpconfigboard.h

2
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)

2
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)

Loading…
Cancel
Save