From 50615fef89787f8b55a8ba6e718298421d7e3cb0 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 10 Feb 2021 21:40:11 +1100 Subject: [PATCH] extmod/btstack: Enable SYNC_EVENTS, PAIRING_BONDING by default. Synchronous events work on stm32 and unix ports. Signed-off-by: Damien George --- extmod/btstack/btstack.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extmod/btstack/btstack.mk b/extmod/btstack/btstack.mk index e3309b61db..17bbb16f88 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