![]() If mainSELECTED_APPLICATION is set to FULL_DEMO, then main() will call main_full(), which is implemented in main_full.c. The receiving task prints out a message each time it receives either of the values from the queue. ![]() One task repeatedly sends the value 100 at a frequency of 200 milliseconds to the other task through the queue, while the timer sends the value 200 every 2000ms to the same queue. main_blinky() creates a very simple demo that includes two tasks, a software timer, and a queue. If mainSELECTED_APPLICATION is set to BLINKY_DEMO, then main() will call main_blinky(), which is implemented in main_blinky.c. The project can be configured to run either a simple Blinky style demo ( BLINKY_DEMO), or a more comprehensive style demo ( FULL_DEMO) by setting the constant mainSELECTED_APPLICATION, which is defined at the top of main.c. This project demonstrates FreeRTOS kernel functionality using the Linux (POSIX) port. The Posix/Linux Simulator Demos Kernel Demo Project There are two demo projects: A Kernel only demo which is located in the FreeRTOS/Demo/POSIX_GCC directory, and a networking demo which is located in the FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix directory.The RTOS port layer for Linux (POSIX) is located in theįreeRTOS/Source/portable/ThirdParty/GCC/Posix directory. ![]() See the Source Code Organization page for information on the zip file's directory structure. The FreeRTOS zip file download contains the source code for all the FreeRTOS ports and demo applications – so it contains many more files than are required to build and run the pre-configured demos that use the FreeRTOS Linux port.
0 Comments
Leave a Reply. |