![]() ![]()
The full demo includes a 'check' task that executes every (simulated) ten seconds, but has the highest priority to ensure it gets processing time. The demo created by main_full() consists mainly of the standard demo tasks which don't perform any particular functionality other than testing the RTOS port and demonstrating how the FreeRTOS API can be used. 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. Emulator mac ubuntu software#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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |