Skip to content

Commit

Permalink
Merge pull request #12890 from gschorcht/cpu/esp/fix_tests_spiffs
Browse files Browse the repository at this point in the history
cpu/esp*: fixes for tests/pkg_spiffs and tests/pkg_littlefs
  • Loading branch information
kaspar030 authored Dec 6, 2019
2 parents 2a22dfb + 35357b8 commit 855e249
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cpu/esp32/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ ifneq (,$(filter esp_eth,$(USEMODULE)))
endif

ifneq (,$(filter spiffs,$(USEMODULE)))
export RIOT_TEST_TIMEOUT = 300
export RIOT_TEST_TIMEOUT = 120
endif

ifneq (,$(filter littlefs,$(USEMODULE)))
export RIOT_TEST_TIMEOUT = 300
export RIOT_TEST_TIMEOUT = 120
endif

ifneq (,$(filter 4 5,$(LOG_LEVEL)))
Expand Down
5 changes: 3 additions & 2 deletions cpu/esp32/ld/esp32.common.ld
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ SECTIONS
*esp_idf_spi_flash.a:*(.literal .text .literal.* .text.*)
/* parts of RIOT that should to run in IRAM */
*core.a:*(.literal .text .literal.* .text.*)
/* *spiffs_fs.a:*(.literal .text .literal.* .text.*) */
/* *spiffs.a:*(.literal .text .literal.* .text.*) */
*spiffs_fs.a:*(.literal .text .literal.* .text.*)
*spiffs.a:*(.literal .text .literal.* .text.*)
*vfs.a:*(.literal .text .literal.* .text.*)

/* part of RIOT ports that should run in IRAM */
*cpu.a:*(.literal .text .literal.* .text.*)
Expand Down
4 changes: 2 additions & 2 deletions cpu/esp8266/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ ifneq (, $(filter esp_gdbstub, $(USEMODULE)))
endif

ifneq (, $(filter spiffs, $(USEMODULE)))
export RIOT_TEST_TIMEOUT = 300
export RIOT_TEST_TIMEOUT = 200
endif

ifneq (, $(filter littlefs, $(USEMODULE)))
export RIOT_TEST_TIMEOUT = 300
export RIOT_TEST_TIMEOUT = 200
endif

# regular Makefile
Expand Down

0 comments on commit 855e249

Please sign in to comment.