From f7d64fec9fa7d8823ed151d71614a5d54857d71e Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Sat, 29 Apr 2023 10:42:51 -0300 Subject: [PATCH] boards/esp32-devkitc: substitute `ramtest` to `mm` on defconfigs The defconfigs that test PSRAM on ESP32 contain the `ramtest` app, but it doesn't test the memory correctly as it try to access the memory directly. The memory, however, is being used by the system's heap and `ramtest` can mess with it. Therefore, it makes sense to test using `mm` testing app. --- boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig | 2 +- .../xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig index 40a2b3d1ec..fa725a0165 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig @@ -51,5 +51,5 @@ CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 CONFIG_SYSTEM_NSH=y -CONFIG_SYSTEM_RAMTEST=y +CONFIG_TESTING_MM=y CONFIG_UART0_SERIAL_CONSOLE=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig index f6ecac8b30..3311e8e3d4 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig @@ -53,7 +53,7 @@ CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 CONFIG_SYSTEM_NSH=y -CONFIG_SYSTEM_RAMTEST=y CONFIG_TESTING_GETPRIME=y +CONFIG_TESTING_MM=y CONFIG_TESTING_OSTEST=y CONFIG_UART0_SERIAL_CONSOLE=y