esp-idf/components/esp_ringbuf
Darian Leung 52589aca08 ringbuf: Fix ordering of StaticRingbuffer_t
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.

This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.

Note: Removed all usage configSUPPORT_STATIC_ALLOCATION preprocessor conditions
as the macro is always set to 1.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:42:12 +01:00
..
include/freertos ringbuf: Fix ordering of StaticRingbuffer_t 2023-07-04 21:42:12 +01:00
test esp_ringbuf: Added functions to linker.lf file which can be placed in Flash 2023-04-17 16:11:23 +02:00
CMakeLists.txt components: use new component registration api 2019-06-21 19:53:29 +08:00
Kconfig esp_ringbuf: Added functions to linker.lf file which can be placed in Flash 2023-04-17 16:11:23 +02:00
linker.lf esp_ringbuf: Added functions to linker.lf file which can be placed in Flash 2023-04-17 16:11:23 +02:00
ringbuf.c ringbuf: Fix ordering of StaticRingbuffer_t 2023-07-04 21:42:12 +01:00