Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Introduce multiple failures #3

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/lexicon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2095,9 +2095,7 @@ taskscheduler
taskselect
taskstamp
taskstampcount
taskstatus
taskutils
taskyield
tblpag
tblptrh
tblptrl
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CM3/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ __attribute__( ( weak ) ) void vPortSetupTimerInterrupt( void )
* The following links provide detailed information:
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html
* https://www.FreeRTOS.org/FAQHelp.html */
configASSERT( ucCurrentPriority >= ucMaxSysCallPriority );
configASSERT( ucCurrentPriority >= ulMaxSysCallPriority );
}

/* Priority grouping: The interrupt controller (NVIC) allows the bits
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CM3_MPU/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ void vPortStoreTaskMPUSettings( xMPU_SETTINGS * xMPUSettings,
* The following links provide detailed information:
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html
* https://www.FreeRTOS.org/FAQHelp.html */
configASSERT( ucCurrentPriority >= ucMaxSysCallPriority );
configASSERT( ucCurrentPriority >= ulMaxSysCallPriority );
}

/* Priority grouping: The interrupt controller (NVIC) allows the bits
Expand Down
8 changes: 4 additions & 4 deletions tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -5113,10 +5113,10 @@ TickType_t uxTaskResetEventItemValue( void )
BaseType_t * pxHigherPriorityTaskWoken )
{
TCB_t * pxTCB;
uint8_t ucOriginalNotifyState;
uint8_t ucOriginalNotifyState;
portBASE_TYPE xSavedInterruptStatus;

configASSERT( xTaskToNotify );
configASSERT( xTaskToNotify );
configASSERT( uxIndexToNotify < configTASK_NOTIFICATION_ARRAY_ENTRIES );

/* RTOS ports that support interrupt nesting have the concept of a
Expand All @@ -5137,11 +5137,11 @@ TickType_t uxTaskResetEventItemValue( void )
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
portASSERT_IF_INTERRUPT_PRIORITY_INVALID();

pxTCB = xTaskToNotify;
pxTCB = xTaskToNotify;

xSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
{
ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ];
ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ];
pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED;

/* 'Giving' is equivalent to incrementing a count in a counting
Expand Down