參考資訊:
https://github.com/FreeRTOS/FreeRTOS
https://stackoverflow.com/questions/10542618/building-freertos-for-x86
https://www.freertos.org/Documentation/02-Kernel/03-Supported-devices/04-Demos/03-Emulation-and-simulation/Linux/FreeRTOS-simulator-for-Linux
$ cd
$ git clone https://github.com/FreeRTOS/FreeRTOS --recursive
$ cd FreeRTOS/Demo/Posix_GCC
$ make -j4
$ ./build/posix_demo
Trace started.
The trace will be dumped to disk if a call to configASSERT() fails.
Starting full demo
OK: No errors - tick count 10001
OK: No errors - tick count 20001