File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -198,11 +198,15 @@ target_compile_options(${MICROPY_TARGET} PUBLIC
198
198
-Wno-missing-field-initializers
199
199
)
200
200
201
+ # Additional include directories needed for private NimBLE headers.
202
+ target_include_directories (${MICROPY_TARGET} PUBLIC
203
+ ${IDF_PATH} /components/bt/host/nimble/nimble
204
+ )
205
+
201
206
# Add additional extmod and usermod components.
202
207
target_link_libraries (${MICROPY_TARGET} micropy_extmod_btree)
203
208
target_link_libraries (${MICROPY_TARGET} usermod)
204
209
205
-
206
210
# Collect all of the include directories and compile definitions for the IDF components.
207
211
foreach (comp ${IDF_COMPONENTS} )
208
212
micropy_gather_target_properties(__idf_${comp} )
Original file line number Diff line number Diff line change 70
70
// extended modules
71
71
#ifndef MICROPY_PY_BLUETOOTH
72
72
#define MICROPY_PY_BLUETOOTH (1)
73
+ #define MICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS (1)
74
+ #define MICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS_WITH_INTERLOCK (1)
75
+ #define MICROPY_PY_BLUETOOTH_SYNC_EVENT_STACK_SIZE (CONFIG_BT_NIMBLE_TASK_STACK_SIZE)
73
76
#define MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE (1)
77
+ #define MICROPY_PY_BLUETOOTH_ENABLE_PAIRING_BONDING (1)
74
78
#define MICROPY_BLUETOOTH_NIMBLE (1)
75
79
#define MICROPY_BLUETOOTH_NIMBLE_BINDINGS_ONLY (1)
76
80
#endif
You can’t perform that action at this time.
0 commit comments