esp-idf/components/esp_ringbuf
Darian Leung 8cb70f0d12 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.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:30:43 +01:00
..
include/freertos ringbuf: Fix ordering of StaticRingbuffer_t 2023-07-04 21:30:43 +01:00
test_apps ci: fixed test apps overriding pytest configs 2023-04-27 14:29:06 +08:00
.build-test-rules.yml esp_ringbuf: migrated esp_ringbuf component tests to pytest framework 2022-10-11 11:31:04 +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-03 08:57:56 +02:00
linker.lf esp_ringbuf: Added functions to linker.lf file which can be placed in Flash 2023-04-03 08:57:56 +02:00
ringbuf.c ringbuf: Fix ordering of StaticRingbuffer_t 2023-07-04 21:30:43 +01:00