Without this change, building FreeRTOS with static allocation enabled succeeds, but trying to create a queue from a static buffer causes an assert because the size of static and dynamic queues differ.
StaticList_t xDummy3[ 2 ];
UBaseType_t uxDummy4[ 3 ];
- BaseType_t ucDummy5[ 2 ];
#if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
uint8_t ucDummy6;
#endif
struct {
- volatile uint32_t mux;
+ volatile uint32_t ucDummy10;
#ifdef CONFIG_FREERTOS_PORTMUX_DEBUG
- const char *lastLockedFn;
- int lastLockedLine;
+ void *pvDummy8;
+ UBaseType_t uxDummy11;
#endif
- } mux;
+ } sDummy12;
} StaticQueue_t;
typedef StaticQueue_t StaticSemaphore_t;