nrf5/sdk: Adding compilation config whether to include BLE NUS implementation. Config found in sdk/nrf5_sdk_conf.h. NUS enabled for s132 targets by default.

This commit is contained in:
Glenn Ruben Bakke 2017-02-04 16:24:50 +01:00
parent b6d54cbcaf
commit f8a71311ed

View File

@ -1,3 +1,7 @@
#include "py/mpconfig.h"
#if MICROPY_PY_BLE_NUS
#include "nrf52_ble.h"
#include "nrf52_board.h"
@ -485,3 +489,5 @@ mp_hal_stdin_rx_chr()
power_manage();
}
}
#endif // MICROPY_PY_BLE_NUS