How to setup LVGL simulator with FreeRTOS header files

Description

I am following a tutorial on LVGL academy about LVGL tasks with RTOS. The tutor used a FreeRTOS header file in his example but he ran the build on an actual board rather than the simulator.

What MCU/Processor/Board and compiler are you using?

Eclipse IDE

What do you want to achieve?

I want to recreate the tutorial on the pc simulator and I am unable to access FreeRTOS header files and its required sub header files.

Is it possible to even use FreeRTOS headers in the sim? There isn’t much info regarding sim + RTOS in the forum/ docs.

I’m a fairly new beginner and would appreciate any clarification.

What have you tried so far?

  • I managed to setup the esp-idf environment within eclipse. Can’t get it to work even though the paths are all correct. I can build esp projects fine.
  • I tried manually setting the import paths to my esp idf directory but it didn’t work as it needed many more sub header files.

Code to reproduce

None

Screenshot and/or video

None

FreeRTOS is meant for embedded platforms, not the PC simulator. You would probably want to research pthreads if you are looking for similar functionality on a simulator.

Noted, thank you!