Merge branch 'bugfix/add_missing_ifdef_to_static_structs_v5.0' into 'release/v5.0'

freertos: Add missing ESP_PLATFORM preprocessor directive for FreeRTOS static data structs (v5.0)

See merge request espressif/esp-idf!20743
This commit is contained in:
Marius Vikhammer
2022-12-05 15:28:24 +08:00

View File

@@ -1296,7 +1296,9 @@ typedef struct xSTATIC_QUEUE
UBaseType_t uxDummy8;
uint8_t ucDummy9;
#endif
portMUX_TYPE xDummy10;
#ifdef ESP_PLATFORM
portMUX_TYPE xDummy10; //Mutex required due to SMP
#endif // ESP_PLATFORM
} StaticQueue_t;
typedef StaticQueue_t StaticSemaphore_t;
@@ -1326,7 +1328,9 @@ typedef struct xSTATIC_EVENT_GROUP
#if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
uint8_t ucDummy4;
#endif
portMUX_TYPE xDummy5;
#ifdef ESP_PLATFORM
portMUX_TYPE xDummy5; //Mutex required due to SMP
#endif // ESP_PLATFORM
} StaticEventGroup_t;
/*
@@ -1378,7 +1382,9 @@ typedef struct xSTATIC_STREAM_BUFFER
#if ( configUSE_TRACE_FACILITY == 1 )
UBaseType_t uxDummy4;
#endif
portMUX_TYPE xDummy5;
#ifdef ESP_PLATFORM
portMUX_TYPE xDummy5; //Mutex required due to SMP
#endif // ESP_PLATFORM
} StaticStreamBuffer_t;
/* Message buffers are built on stream buffers. */