mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-22 01:30:31 -05:00
* Revert "Remove coroutines (#874)"
This reverts commit 569c78fd8c.
* Update freertos Kernel submodule to latest head
* Remove temporary files
* Fix MingW demos and spell check
* Fix manifest version; fix headers
* Add ignore files and paths to core-checker.py
* Fix copyright in remaining files
* Fix PR check build failure
1. Remove defining `inline` in Makefile. This was causing build
warnings.
2. Ensure that the linker removed unused functions from various
compilation units.
3. Update the linker script so that all the functions are correctly
placed in FLASH section.
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
9ccae851e7
commit
1277ba1661
605 changed files with 11240 additions and 3628 deletions
|
|
@ -95,6 +95,9 @@
|
|||
/* Include the query-heap CLI command to query the free heap space. */
|
||||
#define configINCLUDE_QUERY_HEAP_COMMAND 1
|
||||
|
||||
/* Co-routine definitions. */
|
||||
#define configUSE_CO_ROUTINES 0
|
||||
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
|
||||
|
||||
/* Software timer definitions. */
|
||||
#define configUSE_TIMERS 1
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@
|
|||
/* include the port-dependent configuration */
|
||||
#include "lwipcfg_msvc.h"
|
||||
|
||||
/* Dimensions the cTxBuffer array - which is itself used to hold replies from
|
||||
command line commands. cTxBuffer is a shared buffer, so protected by the
|
||||
/* Dimensions the cTxBuffer array - which is itself used to hold replies from
|
||||
command line commands. cTxBuffer is a shared buffer, so protected by the
|
||||
xTxBufferMutex mutex. */
|
||||
#define lwipappsTX_BUFFER_SIZE 1024
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ xTxBufferMutex mutex. */
|
|||
available. */
|
||||
#define lwipappsMAX_TIME_TO_WAIT_FOR_TX_BUFFER_MS ( 100 / portTICK_RATE_MS )
|
||||
|
||||
/* Definitions of the various SSI callback functions within the pccSSITags
|
||||
/* Definitions of the various SSI callback functions within the pccSSITags
|
||||
array. If pccSSITags is updated, then these definitions must also be updated. */
|
||||
#define ssiTASK_STATS_INDEX 0
|
||||
#define ssiRUN_TIME_STATS_INDEX 1
|
||||
|
|
@ -74,9 +74,9 @@ static unsigned short uslwIPAppsSSIHandler( int iIndex, char *pcBuffer, int iBuf
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* The SSI strings that are embedded in the served html files. If this array
|
||||
is changed, then the index position defined by the #defines such as
|
||||
is changed, then the index position defined by the #defines such as
|
||||
ssiTASK_STATS_INDEX above must also be updated. */
|
||||
static const char *pccSSITags[] =
|
||||
static const char *pccSSITags[] =
|
||||
{
|
||||
"rtos_stats",
|
||||
"run_stats"
|
||||
|
|
@ -85,11 +85,11 @@ static const char *pccSSITags[] =
|
|||
/* Semaphore used to guard the Tx buffer. */
|
||||
static xSemaphoreHandle xTxBufferMutex = NULL;
|
||||
|
||||
/* The Tx buffer itself. This is used to hold the text generated by the
|
||||
execution of command line commands, and (hopefully) the execution of
|
||||
/* The Tx buffer itself. This is used to hold the text generated by the
|
||||
execution of command line commands, and (hopefully) the execution of
|
||||
server side include callbacks. It is a shared buffer so protected by the
|
||||
xTxBufferMutex mutex. pcLwipAppsBlockingGetTxBuffer() and
|
||||
vLwipAppsReleaseTxBuffer() are provided to obtain and release the
|
||||
xTxBufferMutex mutex. pcLwipAppsBlockingGetTxBuffer() and
|
||||
vLwipAppsReleaseTxBuffer() are provided to obtain and release the
|
||||
xTxBufferMutex respectively. pcLwipAppsBlockingGetTxBuffer() must be used with
|
||||
caution as it has the potential to block. */
|
||||
static signed char cTxBuffer[ lwipappsTX_BUFFER_SIZE ];
|
||||
|
|
@ -157,7 +157,7 @@ static struct netif xNetIf;
|
|||
/* Install the server side include handler. */
|
||||
http_set_ssi_handler( uslwIPAppsSSIHandler, pccSSITags, sizeof( pccSSITags ) / sizeof( char * ) );
|
||||
|
||||
/* Create the mutex used to ensure mutual exclusive access to the Tx
|
||||
/* Create the mutex used to ensure mutual exclusive access to the Tx
|
||||
buffer. */
|
||||
xTxBufferMutex = xSemaphoreCreateMutex();
|
||||
configASSERT( xTxBufferMutex );
|
||||
|
|
@ -185,7 +185,7 @@ extern char *pcMainGetTaskStatusMessage( void );
|
|||
|
||||
/* The SSI handler function that generates text depending on the index of
|
||||
the SSI tag encountered. */
|
||||
|
||||
|
||||
switch( iIndex )
|
||||
{
|
||||
case ssiTASK_STATS_INDEX :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue