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.
This commit is contained in:
parent
b776fe6969
commit
95d0d1c486
|
@ -34,7 +34,7 @@
|
||||||
#define MICROPY_PY_MACHINE_HW_PWM (0)
|
#define MICROPY_PY_MACHINE_HW_PWM (0)
|
||||||
#define MICROPY_PY_MACHINE_HW_SPI (1)
|
#define MICROPY_PY_MACHINE_HW_SPI (1)
|
||||||
#define MICROPY_PY_MACHINE_TIMER (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_I2C (1)
|
||||||
#define MICROPY_PY_MACHINE_ADC (0)
|
#define MICROPY_PY_MACHINE_ADC (0)
|
||||||
#define MICROPY_PY_MACHINE_TEMP (0)
|
#define MICROPY_PY_MACHINE_TEMP (0)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#define MICROPY_PY_MACHINE_HW_PWM (0)
|
#define MICROPY_PY_MACHINE_HW_PWM (0)
|
||||||
#define MICROPY_PY_MACHINE_HW_SPI (1)
|
#define MICROPY_PY_MACHINE_HW_SPI (1)
|
||||||
#define MICROPY_PY_MACHINE_TIMER (0)
|
#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_I2C (1)
|
||||||
#define MICROPY_PY_MACHINE_ADC (0)
|
#define MICROPY_PY_MACHINE_ADC (0)
|
||||||
#define MICROPY_PY_MACHINE_TEMP (0)
|
#define MICROPY_PY_MACHINE_TEMP (0)
|
||||||
|
|
Loading…
Reference in New Issue