Merge branch 'bugfix/freertos_smp_gcc11_build_errors' into 'master'

freertos: Fix GCC 11 SMP FreeRTOS build errors

See merge request espressif/esp-idf!18399
This commit is contained in:
Zim Kalinowski
2022-06-08 16:29:58 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ typedef enum
#define taskSCHEDULER_RUNNING ( ( BaseType_t ) 2 ) #define taskSCHEDULER_RUNNING ( ( BaseType_t ) 2 )
/* Check if core value is valid */ /* Check if core value is valid */
#define taskVALID_CORE_ID( xCoreID ) ( ( BaseType_t ) ( ( 0 <= xCoreID ) && ( xCoreID < configNUM_CORES ) ) ) #define taskVALID_CORE_ID( xCoreID ) ( ( BaseType_t ) ( ( 0 <= (BaseType_t) xCoreID ) && ( (BaseType_t) xCoreID < configNUM_CORES ) ) )
/*----------------------------------------------------------- /*-----------------------------------------------------------
* TASK CREATION API * TASK CREATION API

View File

@@ -267,7 +267,7 @@ static inline BaseType_t xPortInIsrContext(void)
return xPortCheckIfInISR(); return xPortCheckIfInISR();
} }
BaseType_t IRAM_ATTR xPortInterruptedFromISRContext(void); BaseType_t xPortInterruptedFromISRContext(void);
static inline UBaseType_t xPortSetInterruptMaskFromISR(void) static inline UBaseType_t xPortSetInterruptMaskFromISR(void)
{ {