mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-04 05:13:51 -04:00
Add in web server to RX/IAR demo application.
This commit is contained in:
parent
c7fbe1d601
commit
9c3e8b0228
28 changed files with 6562 additions and 156 deletions
|
@ -74,16 +74,16 @@
|
|||
#include "partest.h"
|
||||
|
||||
/* Priorities at which the tasks are created. */
|
||||
#define configQUEUE_RECEIVE_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
#define configQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
|
||||
#define configQUEUE_RECEIVE_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
|
||||
#define configQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
|
||||
/* The rate at which data is sent to the queue, specified in milliseconds. */
|
||||
#define mainQUEUE_SEND_FREQUENCY_MS ( 500 / portTICK_RATE_MS )
|
||||
#define mainQUEUE_SEND_FREQUENCY_MS ( 500 / 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 so the send task should always find the
|
||||
queue empty. */
|
||||
#define mainQUEUE_LENGTH ( 1 )
|
||||
#define mainQUEUE_LENGTH ( 1 )
|
||||
|
||||
/*
|
||||
* The tasks as defined at the top of this file.
|
||||
|
@ -94,6 +94,9 @@ static void prvQueueSendTask( void *pvParameters );
|
|||
/* The queue used by both tasks. */
|
||||
static xQueueHandle xQueue = NULL;
|
||||
|
||||
/* This variable is not used by this simple Blinky example. It is defined
|
||||
purely to allow the project to link as it is used by the full project. */
|
||||
volatile unsigned long ulHighFrequencyTickCount = 0UL;
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void main(void)
|
||||
|
@ -213,6 +216,8 @@ void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName
|
|||
of this file. */
|
||||
void vApplicationIdleHook( void )
|
||||
{
|
||||
/* Just to prevent the variable getting optimised away. */
|
||||
( void ) ulHighFrequencyTickCount;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue