diff options
| author | Glenn Ruben Bakke | 2017-12-01 21:37:30 +0100 |
|---|---|---|
| committer | Damien George | 2018-07-18 17:12:25 +1000 |
| commit | c8fd71612b95d4848328b85dd3100e6004cafcc4 (patch) | |
| tree | 08a95de8f6a7c488d61b7ac979845e61e159d486 /ports | |
| parent | f5ed40116fa93890a3b134f5c6a8a4de41a3346e (diff) | |
nrf/boards/microbit: Enable music, display, image, microbit module.
Enabled by default on microbit targets, with or without BLE stack. Also
enable softpwm to make display and music module compile.
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/nrf/boards/microbit/mpconfigboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/boards/microbit/mpconfigboard.h b/ports/nrf/boards/microbit/mpconfigboard.h index 6dc8b0597..3b85c5bd8 100644 --- a/ports/nrf/boards/microbit/mpconfigboard.h +++ b/ports/nrf/boards/microbit/mpconfigboard.h @@ -30,8 +30,8 @@ #define MICROPY_HW_MCU_NAME "NRF51822" #define MICROPY_PY_SYS_PLATFORM "nrf51" -#define MICROPY_PY_MUSIC (0) -#define MICROPY_PY_MACHINE_SOFT_PWM (0) +#define MICROPY_PY_MUSIC (1) +#define MICROPY_PY_MACHINE_SOFT_PWM (1) #define MICROPY_PY_MACHINE_HW_SPI (1) #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_RTC (1) |
