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:
parent
b6d54cbcaf
commit
f8a71311ed
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user