diff --git a/tests/boards/espressif_esp32/cache_coex/README.rst b/tests/boards/espressif_esp32/cache_coex/README.rst index 00a6877841d8171..da23ddb6c6b4e8b 100644 --- a/tests/boards/espressif_esp32/cache_coex/README.rst +++ b/tests/boards/espressif_esp32/cache_coex/README.rst @@ -12,32 +12,44 @@ with a random generated pattern. At the same time, a whole SPI Flash page is upd value. By the end of the thread iterations, both PSRAM and SPI Flash have its contents compared against expected values to check for integrity. +Supported Boards +**************** +- esp32 +- esp32s2_saola +- esp32s3_devkitm + Building and Running ******************** -Make sure you have the ESP32 DevKitC connected over USB port. +Make sure you have the target connected over USB port. .. code-block:: console - west build -b esp32_devkitc_wrover tests/boards/espressif_esp32/cache_coex - west flash --esp-device /dev/ttyUSB0 + west build -b tests/boards/espressif_esp32/cache_coex + west flash && west espressif monitor Sample Output ============= -To check output of this test, any serial console program can be used (i.e. on Linux picocom, putty, screen, etc). -This test uses ``minicom`` on the serial port ``/dev/ttyUS0``. The following lines indicate a successful test: - .. code-block:: console - Running test suite cache_coex_test - =================================================================== - START - flash_integrity_test - PASS - flash_integrity_test in 0.1 seconds - =================================================================== - START - ram_integrity_test - PASS - ram_integrity_test in 0.1 seconds - =================================================================== - Test suite cache_coex_test succeeded - =================================================================== - PROJECT EXECUTION SUCCESSFUL + Running TESTSUITE cache_coex + =================================================================== + START - test_flash_integrity + PASS - test_flash_integrity in 0.001 seconds + =================================================================== + START - test_ram_integrity + PASS - test_ram_integrity in 0.001 seconds + =================================================================== + START - test_using_spiram + PASS - test_using_spiram in 0.001 seconds + =================================================================== + TESTSUITE cache_coex succeeded + ------ TESTSUITE SUMMARY START ------ + SUITE PASS - 100.00% [cache_coex]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.003 seconds + - PASS - [cache_coex.test_flash_integrity] duration = 0.001 seconds + - PASS - [cache_coex.test_ram_integrity] duration = 0.001 seconds + - PASS - [cache_coex.test_using_spiram] duration = 0.001 seconds + ------ TESTSUITE SUMMARY END ------ + =================================================================== + PROJECT EXECUTION SUCCESSFUL diff --git a/tests/boards/espressif_esp32/cache_coex/testcase.yaml b/tests/boards/espressif_esp32/cache_coex/testcase.yaml index 9de6d546a4b3976..063d4e9fb3b0e42 100644 --- a/tests/boards/espressif_esp32/cache_coex/testcase.yaml +++ b/tests/boards/espressif_esp32/cache_coex/testcase.yaml @@ -1,6 +1,9 @@ tests: boards.esp32.cache_coex: - platform_allow: esp32_devkitc_wrover esp32s2_saola + platform_allow: + - esp32_devkitc_wrover + - esp32s2_saola + - esp32s3_devkitm tags: - spiram - spiflash