mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Add in a portDONT_DISCARD symbol as well.
This commit is contained in:
parent
3ac3e478c6
commit
76db96cf6b
1 changed files with 7 additions and 0 deletions
|
|
@ -221,6 +221,13 @@ typedef uint32_t TickType_t;
|
|||
*/
|
||||
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
|
||||
|
||||
/**
|
||||
* @brief Ensure a symbol isn't removed from the compilation unit.
|
||||
*
|
||||
* @ingroup Port Interface Specifications
|
||||
*/
|
||||
#define portDONT_DISCARD __attribute__( ( used ) )
|
||||
|
||||
/**
|
||||
* @brief Defines if the tick count can be accessed atomically.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue