Nimble os_msys_init fail on multiple examples
Posted: Mon Jul 25, 2022 7:33 pm
I am trying to use the Nimble examples for the Esp32S3 and the Esp32C3.
I am trying both the "ble_spp" and "bleprph" examples.
Both examples fail on this line:
The error is:
Has anyone seen this? Is there a workaround or something I am setting up incorrecly fo the Nimble port on these chips?
Thanks!
I am trying both the "ble_spp" and "bleprph" examples.
Both examples fail on this line:
Code: Select all
nimble_port_init();
I believe this failing here :assert failed: os_msys_init_once os_msys_init.c:56 (rc == 0)
Code: Select all
void
os_msys_init(void)
{
os_msys_reset();
(void)os_msys_init_once;
#if MYNEWT_VAL(MSYS_1_BLOCK_COUNT) > 0
os_msys_init_once(os_msys_init_1_data,
&os_msys_init_1_mempool,
&os_msys_init_1_mbuf_pool,
MYNEWT_VAL(MSYS_1_BLOCK_COUNT),
SYSINIT_MSYS_1_MEMBLOCK_SIZE,
"msys_1");
#endif
#if MYNEWT_VAL(MSYS_2_BLOCK_COUNT) > 0
os_msys_init_once(os_msys_init_2_data,
&os_msys_init_2_mempool,
&os_msys_init_2_mbuf_pool,
MYNEWT_VAL(MSYS_2_BLOCK_COUNT),
SYSINIT_MSYS_2_MEMBLOCK_SIZE,
"msys_2");
#endif
}
Thanks!