mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Remove the remnants of the legacy trace functionality (since replaced with FreeRTOS+Trace).
Replaced the #error that traps configMAX_SYSCALL_INTERRUPT_PRIORITY being set to 0 with a configASSERT() for GCC Cortex-M3/4 ports as the #error does not work if configMAX_SYSCALL_INTERRUPT_PRIORITY includes any casting. Not a problem for other compilers as they cannot have casting anyway as that would break the assembly code.
This commit is contained in:
parent
02acfd2723
commit
73ad4387e2
10 changed files with 35 additions and 99 deletions
|
@ -399,7 +399,7 @@ signed portBASE_TYPE xReturn;
|
|||
tskTCB * pxNewTCB;
|
||||
|
||||
configASSERT( pxTaskCode );
|
||||
configASSERT( ( uxPriority < configMAX_PRIORITIES ) );
|
||||
configASSERT( ( ( uxPriority & ( ~portPRIVILEGE_BIT ) ) < configMAX_PRIORITIES ) );
|
||||
|
||||
/* Allocate the memory required by the TCB and stack for the new task,
|
||||
checking that the allocation was successful. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue