freertos: upgrade to 10.4.3 - try to add portDONT_DISCARD

This commit is contained in:
Zim Kalinowski 2021-09-22 09:11:44 +08:00
parent e3e406b81b
commit d37ed3e05b
2 changed files with 2 additions and 1 deletions

View File

@ -3346,7 +3346,7 @@ BaseType_t xTaskRemoveFromUnorderedEventList( ListItem_t * pxEventListItem,
* Sets the pointer to the current TCB to the TCB of the highest priority task
* that is ready to run.
*/
void vTaskSwitchContext( void ) PRIVILEGED_FUNCTION;
portDONT_DISCARD void vTaskSwitchContext( void ) PRIVILEGED_FUNCTION;
/*
* THESE FUNCTIONS MUST NOT BE USED FROM APPLICATION CODE. THEY ARE USED BY

View File

@ -18,3 +18,4 @@
# following function is disabled by configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
- '(?:vTaskSetThreadLocalStoragePointerAndDelCallback\s*\([\s\w\*_,]*\))'
- PRIVILEGED_FUNCTION
- portDONT_DISCARD