|
|
|
@ -70,11 +70,12 @@
|
|
|
|
|
* application. It is provided as a convenient development and demonstration
|
|
|
|
|
* test bed only. This was tested using Windows XP on a dual core laptop.
|
|
|
|
|
*
|
|
|
|
|
* In this example, one simulated millisecond will take approximately 40ms to
|
|
|
|
|
* execute, and the timing information in the FreeRTOS+Trace logs have no
|
|
|
|
|
* meaningful units. See the documentation page for the Windows simulator for
|
|
|
|
|
* an explanation of the slow timing:
|
|
|
|
|
* Windows will not be running the FreeRTOS simulator threads continuously, so
|
|
|
|
|
* the timing information in the FreeRTOS+Trace logs have no meaningful units.
|
|
|
|
|
* See the documentation page for the Windows simulator for an explanation of
|
|
|
|
|
* the slow timing:
|
|
|
|
|
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
|
|
|
|
|
* - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -
|
|
|
|
|
*
|
|
|
|
|
* Documentation for this demo can be found on:
|
|
|
|
|
* http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/Free_RTOS_Plus_Trace_CLI_Example.shtml
|
|
|
|
@ -124,9 +125,9 @@
|
|
|
|
|
#define mainQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
|
|
|
|
|
#define mainUDP_CLI_TASK_PRIORITY ( tskIDLE_PRIORITY )
|
|
|
|
|
|
|
|
|
|
/* The rate at which data is sent to the queue. The (simulated) 50ms value is
|
|
|
|
|
/* The rate at which data is sent to the queue. The (simulated) 250ms value is
|
|
|
|
|
converted to ticks using the portTICK_RATE_MS constant. */
|
|
|
|
|
#define mainQUEUE_SEND_FREQUENCY_MS ( 50 / portTICK_RATE_MS )
|
|
|
|
|
#define mainQUEUE_SEND_FREQUENCY_MS ( 250 / portTICK_RATE_MS )
|
|
|
|
|
|
|
|
|
|
/* The number of items the queue can hold. This is 1 as the receive task
|
|
|
|
|
will remove items as they are added, meaning the send task should always find
|
|
|
|
|