Similarly to the CMSIS API example, the POSIX API example will just blink two LEDs at different intervals.
Note that after FreeRTOS POSIX moves out of FreeRTOS Labs, the download location (and the corresponding instructions) will likely change.
First, the POSIX wrapper needs to be downloaded and brought into the source tree. Perform the following steps:
- Download the FreeRTOS Labs distribution ( https://www.freertos.org/a00104.html ). Go to https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_POSIX/index.html for up-to-date download instructions.
- Import the selected FreeRTOS_POSIX files into your source tree. In the example, they reside in Middleware\Third_Party\FreeRTOS\FreeRTOS_POSIX.
- Add the ...