After 2 months devoloping with simplicity studio, I find that I need to add RTOS or Miccrium as an OS to my Thunderbord BG22 to use pthread and mutex to manage tasks,
I add the os (RTOS for exemple) from project propriries -> C/C++ build -> project module, however when I compile the program I have the following errors in the make which I don't know how to solve :
Once you add FreeRTOS with the Simplicity Studio project module, you have a bit of additional stuff to do.
First you need to copy FreeRTOSConfig.h file from any freeRTOS example in SDK, into your project, take a look at C:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.5\app\mcu_example\EFM32GG_STK3700\freertos_blink
When you enable FreeRTOS from project properties -> C/C++ build -> project module, you have to Exclude from build folder /Common and exclude also heap_x.c to keep active only one you want (heap_4.c generally is a good candidate)
Also, configure include path for GNU ARM C Cmpiler according your MCU core