Posts

Showing posts from April, 2021

FreeRTOS simulatior on Linux

Link to download the source:  https://www.freertos.org/FreeRTOS-simulator-for-Linux.html or http://www.openrtos.net/index.html Download Source: https://www.freertos.org/a00104.html Source code organization: https://www.freertos.org/a00017.html   Building the source code: Navigate to the Demo Directory at: Demo source $ cd FreeRTOS/Demo/Posix_GCC/ To build run: $ make Error:   incompatible type for argument 3 of ‘pthread_sigmask’   528 | *&xSchedulerOriginalSignalMask ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | sigset_t {aka struct < anonymous>}      Solution:  Run command: 1) cd ~/Downloads/src/FreeRTOSv202012.00/FreeRTOS/Source/portable/ThirdParty/GCC/Posix 2) gedit port.c 3)go to line 528 and comment 528 and 529 4) paste below lines: extern int pthread_si...