Skip to content

Commit

Permalink
host tests: add missing header files for compiling host tests
Browse files Browse the repository at this point in the history
  • Loading branch information
o-marshmallow authored and espressif-bot committed Jul 20, 2021
1 parent 30fd0b7 commit bd96484
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/fatfs/test_fatfs_host/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ INCLUDE_DIRS := \
xtensa/include \
xtensa/esp32/include \
soc/esp32/include \
heap/include \
soc/include \
esp32/include \
esp_common/include \
Expand Down
1 change: 1 addition & 0 deletions components/spi_flash/sim/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ INCLUDE_DIRS := \
xtensa/include \
xtensa/esp32/include \
soc/esp32/include \
heap/include \
soc/include \
esp32/include \
esp_timer/include \
Expand Down
1 change: 1 addition & 0 deletions components/spi_flash/sim/stubs/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ INCLUDE_DIRS := \
esp_hw_support/include/soc \
esp_system/include \
soc/esp32/include \
heap/include \
soc/include \
xtensa/include \
xtensa/esp32/include \
Expand Down
1 change: 1 addition & 0 deletions components/spiffs/test_spiffs_host/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ INCLUDE_DIRS := \
xtensa/include \
xtensa/esp32/include \
soc/esp32/include \
heap/include \
soc/include \
esp32/include \
bootloader_support/include \
Expand Down
2 changes: 1 addition & 1 deletion components/wear_levelling/test_wl_host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
SDKCONFIG_DIR := $(dir $(realpath $(SDKCONFIG)))
endif

INCLUDE_FLAGS := $(addprefix -I, $(INCLUDE_DIRS) $(SDKCONFIG_DIR) ../../../tools/catch)
INCLUDE_FLAGS := $(addprefix -I, $(INCLUDE_DIRS) -I../../../heap/include/soc $(SDKCONFIG_DIR) ../../../tools/catch)

CPPFLAGS += $(INCLUDE_FLAGS) -g -m32
CXXFLAGS += $(INCLUDE_FLAGS) -std=c++11 -g -m32
Expand Down
2 changes: 2 additions & 0 deletions components/wear_levelling/test_wl_host/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ INCLUDE_DIRS := \
vfs/include \
) \
$(addprefix ../../../components/, \
heap/include \
esp_rom/include \
esp_system/include \
esp_common/include \
Expand All @@ -30,6 +31,7 @@ INCLUDE_DIRS := \
xtensa/include \
xtensa/esp32/include \
soc/esp32/include \
heap/include \
soc/include \
esp32/include \
bootloader_support/include \
Expand Down

0 comments on commit bd96484

Please sign in to comment.