8000 nrf5: Add default config for MICROPY_PY_BLE_NUS (0) · boneskull/circuitpython@ac677ef · GitHub
[go: up one dir, main page]

Skip to content

Commit ac677ef

Browse files
committed
nrf5: Add default config for MICROPY_PY_BLE_NUS (0)
Disable Bluetooth UART to be used for REPL by default. Can be overridden in nrf5_sdk_conf.h. It is defined in mpconfigport.h as it is connected to mphalport.c, where the config is used to determine whether default print functions should be using HW UART or Bluetooth UART.
1 parent e876168 commit ac677ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nrf5/mpconfigport.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@
213213
#define MICROPY_PY_UBLUEPY (0)
214214
#endif
215215

216+
#ifndef MICROPY_PY_BLE_NUS
217+
#define MICROPY_PY_BLE_NUS (0)
218+
#endif
219+
216220
// type definitions for the specific machine
217 3FC5 221

218222
#define BYTES_PER_WORD (4)

0 commit comments

Comments
 (0)
0