aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/mpconfigport.h')
-rw-r--r--ports/stm32/mpconfigport.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 20554d9e6..b9c6cdedd 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -289,6 +289,12 @@ extern const struct _mp_obj_module_t mp_module_onewire;
#define MICROPY_PORT_ROOT_POINTER_MBEDTLS
#endif
+#if MICROPY_BLUETOOTH_NIMBLE
+#define MICROPY_PORT_ROOT_POINTER_BLUETOOTH_NIMBLE void **bluetooth_nimble_memory;
+#else
+#define MICROPY_PORT_ROOT_POINTER_BLUETOOTH_NIMBLE
+#endif
+
#define MICROPY_PORT_ROOT_POINTERS \
const char *readline_hist[8]; \
\
@@ -318,7 +324,8 @@ extern const struct _mp_obj_module_t mp_module_onewire;
/* list of registered NICs */ \
mp_obj_list_t mod_network_nic_list; \
\
- MICROPY_PORT_ROOT_POINTER_MBEDTLS
+ MICROPY_PORT_ROOT_POINTER_MBEDTLS \
+ MICROPY_PORT_ROOT_POINTER_BLUETOOTH_NIMBLE \
// type definitions for the specific machine