Merge branch 'bugfix/ringbuf_cache_disabled_test_v4.1' into 'release/v4.1'

esp_ringbuf: don't test xRingbufferCreate with cache disabled

See merge request espressif/esp-idf!14204
This commit is contained in:
Angus Gratton
2021-07-02 05:52:05 +00:00

View File

@@ -673,8 +673,8 @@ static IRAM_ATTR __attribute__((noinline)) bool iram_ringbuf_test(void)
{ {
bool result = true; bool result = true;
spi_flash_guard_get()->start(); // Disables flash cache
RingbufHandle_t handle = xRingbufferCreate(CONT_DATA_TEST_BUFF_LEN, RINGBUF_TYPE_NOSPLIT); RingbufHandle_t handle = xRingbufferCreate(CONT_DATA_TEST_BUFF_LEN, RINGBUF_TYPE_NOSPLIT);
spi_flash_guard_get()->start(); // Disables flash cache
result = result && (handle != NULL); result = result && (handle != NULL);
xRingbufferGetMaxItemSize(handle); xRingbufferGetMaxItemSize(handle);
vRingbufferDelete(handle); vRingbufferDelete(handle);