Skip to content

Commit 47a4ff0

Browse files
committed
cpu/esp32: increase timeout for spiffs and littlefs tests
The time it takes to erase the entire flash memory of an esp32 card requires increasing the timeout for tests/pkg_spiffs and tests/pkg_littlefs.
1 parent 5a70576 commit 47a4ff0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cpu/esp32/Makefile.include

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ ifneq (,$(filter esp_wifi,$(USEMODULE)))
5151
USEMODULE += esp_wifi_any
5252
endif
5353

54+
ifneq (,$(filter spiffs,$(USEMODULE)))
55+
export RIOT_TEST_TIMEOUT = 300
56+
endif
57+
58+
ifneq (,$(filter littlefs,$(USEMODULE)))
59+
export RIOT_TEST_TIMEOUT = 300
60+
endif
61+
5462
# ESP32 pseudomodules
5563
PSEUDOMODULES += esp_eth_hw
5664
PSEUDOMODULES += esp_gdb

0 commit comments

Comments
 (0)