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

This commit is contained in:
Glenn Ruben Bakke 2016-12-26 16:18:16 +01:00
parent e4365fcac4
commit 8e7f9d7c38
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#define MICROPY_PY_SYS_PLATFORM "nrf51-DK" #define MICROPY_PY_SYS_PLATFORM "nrf51-DK"
#define MICROPY_PY_MACHINE_PWM (0) #define MICROPY_PY_MACHINE_PWM (0)
#define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_PY_USOCKET (0) #define MICROPY_PY_USOCKET (0)
#define MICROPY_PY_NETWORK (0) #define MICROPY_PY_NETWORK (0)

View File

@ -30,6 +30,8 @@
#define MICROPY_HW_MCU_NAME "NRF52832" #define MICROPY_HW_MCU_NAME "NRF52832"
#define MICROPY_PY_SYS_PLATFORM "nrf52-DK" #define MICROPY_PY_SYS_PLATFORM "nrf52-DK"
#define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_HW_HAS_SWITCH (0) #define MICROPY_HW_HAS_SWITCH (0)
#define MICROPY_HW_HAS_FLASH (0) #define MICROPY_HW_HAS_FLASH (0)
#define MICROPY_HW_HAS_SDCARD (0) #define MICROPY_HW_HAS_SDCARD (0)