summaryrefslogtreecommitdiff
path: root/extmod/btstack
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-02-10 21:40:11 +1100
committerDamien George <damien@micropython.org>2021-02-12 12:08:09 +1100
commit50615fef89787f8b55a8ba6e718298421d7e3cb0 (patch)
treed9118fa56fff3dd97787268852e9874dd3167874 /extmod/btstack
parent24a8a408a9f5cc6cb26f2295a87303e75a48a312 (diff)
extmod/btstack: Enable SYNC_EVENTS, PAIRING_BONDING by default.
Synchronous events work on stm32 and unix ports. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/btstack')
-rw-r--r--extmod/btstack/btstack.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/btstack/btstack.mk b/extmod/btstack/btstack.mk
index e3309b61d..17bbb16f8 100644
--- a/extmod/btstack/btstack.mk
+++ b/extmod/btstack/btstack.mk
@@ -11,6 +11,8 @@ EXTMOD_SRC_C += extmod/btstack/modbluetooth_btstack.c
INC += -I$(TOP)/$(BTSTACK_EXTMOD_DIR)
CFLAGS_MOD += -DMICROPY_BLUETOOTH_BTSTACK=1
+CFLAGS_MOD += -DMICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS=1
+CFLAGS_MOD += -DMICROPY_PY_BLUETOOTH_ENABLE_PAIRING_BONDING=1
BTSTACK_DIR = $(TOP)/lib/btstack