Skip to content

Commit 5a8f786

Browse files
committed
Make stack mempools optional/default to original freertos port.
1 parent 52b2afd commit 5a8f786

File tree

7 files changed

+967
-25
lines changed

7 files changed

+967
-25
lines changed

src/nimble/porting/nimble/src/nimble_port.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ nimble_port_init(void)
7777

7878
#else //SOC_ESP_NIMBLE_CONTROLLER
7979

80+
#if CONFIG_NIMBLE_STACK_USE_MEM_POOLS
8081
/* Initialize the function pointers for OS porting */
8182
npl_freertos_funcs_init();
8283

8384
npl_freertos_mempool_init();
84-
85+
#endif
8586
/* Initialize default event queue */
8687

8788
ble_npl_eventq_init(&g_eventq_dflt);

0 commit comments

Comments
 (0)