VS-Code Simulator + FreeRTOS + macOS M1

Hello everyone,

As written in the title, I am running the simulator on macOS M1.

Everything works perfectly fine, but I want to increase the difficulty level to accelerate the embedded implementation.

I’m now trying to run the simulator with FreeRTOS, in order to implement task and event management instead of handling individual screens and writing everything directly on the embedded system.

The project compiles and starts, but when the LVGL task is created—specifically at line 197 of the port.c file, where the pthread_create function is called—it returns an EXC_BAD_ACCESS (code=2, address=0x16ffc7000).

The Sym-Screen opens and shows the LVGL demo text, but then it gets stuck.

Has anyone encountered this issue or managed to get it working properly?

Thank you in advance.

Best regards,
Andrea