mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
test(cache): added test for M2C with ESP_CACHE_MSYNC_FLAG_UNALIGNED
This commit is contained in:
parent
9e36994a7b
commit
905b427479
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -202,3 +202,8 @@ TEST_CASE("test cache msync work with PSRAM stack", "[cache]")
|
||||
free(stack_for_task);
|
||||
}
|
||||
#endif //#if CONFIG_SPIRAM
|
||||
|
||||
TEST_CASE("test cache msync unaligned flag not work with M2C direction", "[cache]")
|
||||
{
|
||||
TEST_ASSERT(esp_cache_msync((void *)TEST_SYNC_START, 0x8000, ESP_CACHE_MSYNC_FLAG_UNALIGNED | ESP_CACHE_MSYNC_FLAG_DIR_M2C) == ESP_ERR_INVALID_ARG);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user