nrf5/boards: Enable MICROPY_PY_MACHINE_RTC in pca10028 (nrf51) and pca10040 (nrf52) targets.

This commit is contained in:
Glenn Ruben Bakke 2016-12-26 16:50:59 +01:00
parent c2d2958205
commit 46ddf2ed70
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#define MICROPY_PY_MACHINE_PWM (0)
#define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_PY_MACHINE_RTC (1)
#define MICROPY_PY_USOCKET (0)
#define MICROPY_PY_NETWORK (0)

View File

@ -31,6 +31,7 @@
#define MICROPY_PY_SYS_PLATFORM "nrf52-DK"
#define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_PY_MACHINE_RTC (1)
#define MICROPY_HW_HAS_SWITCH (0)
#define MICROPY_HW_HAS_FLASH (0)