mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
RP2040 Demo (#618)
* Fix code to match comment; idle prioriry task should not block to yield, as then it will hardly run at all (bug affects SMP tests) * Add RP2040 Demo - can be used for 'main' or 'smp' branch of FreeRTOS_Kernel * move to latest main/ of FreeRTOS-Kernel * move RP2040 demos into Community-Supported * Update whitespace issue Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> * Add SMP to lexicon Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
bec88bfe41
commit
25e73f2e75
30 changed files with 2887 additions and 3 deletions
|
@ -231,7 +231,11 @@ short sError = pdFALSE, sCheckVariableToUse;
|
|||
a cycle (deliberately so to test the guarding) so will be starving
|
||||
out lower priority tasks. Block for some time to allow give lower
|
||||
priority tasks some processor time. */
|
||||
vTaskDelay( pxParameters->xBlockTime * semtstDELAY_FACTOR );
|
||||
if( pxParameters->xBlockTime != ( TickType_t ) 0 )
|
||||
{
|
||||
vTaskDelay( pxParameters->xBlockTime * semtstDELAY_FACTOR );
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -266,4 +270,3 @@ BaseType_t xTask, xReturn = pdTRUE;
|
|||
return xReturn;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue