Hi @ogai,
This issue has already been reported to the SW team. The provided example is incomplete, and some workarounds are needed for it to work correctly:
1. Configuration .mex needs to be updated to include SMP support:
Use SMP feature.png
2. Calls to vPortGET_CORE_ID need to be replace with calls to portGET_CORE_ID.
3. In ASSERT(), change macro definition to "if((x)==0) {__asm volatile ( " cpsid i " ::: "memory" ); for( ;;); }
config ASSERT.png
Best regards,
Julián