From bd96484f7bcc096c1d1aa2be2f80b104008928a1 Mon Sep 17 00:00:00 2001 From: Omar Chebib Date: Tue, 20 Jul 2021 11:37:49 +0800 Subject: [PATCH] host tests: add missing header files for compiling host tests --- components/fatfs/test_fatfs_host/Makefile.files | 1 + components/spi_flash/sim/Makefile.files | 1 + components/spi_flash/sim/stubs/Makefile.files | 1 + components/spiffs/test_spiffs_host/Makefile.files | 1 + components/wear_levelling/test_wl_host/Makefile | 2 +- components/wear_levelling/test_wl_host/Makefile.files | 2 ++ 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/fatfs/test_fatfs_host/Makefile.files b/components/fatfs/test_fatfs_host/Makefile.files index de17e81210a..7e7da5bd954 100644 --- a/components/fatfs/test_fatfs_host/Makefile.files +++ b/components/fatfs/test_fatfs_host/Makefile.files @@ -30,6 +30,7 @@ INCLUDE_DIRS := \ xtensa/include \ xtensa/esp32/include \ soc/esp32/include \ + heap/include \ soc/include \ esp32/include \ esp_common/include \ diff --git a/components/spi_flash/sim/Makefile.files b/components/spi_flash/sim/Makefile.files index 57cefe0ebe3..037dd6eefd0 100644 --- a/components/spi_flash/sim/Makefile.files +++ b/components/spi_flash/sim/Makefile.files @@ -32,6 +32,7 @@ INCLUDE_DIRS := \ xtensa/include \ xtensa/esp32/include \ soc/esp32/include \ + heap/include \ soc/include \ esp32/include \ esp_timer/include \ diff --git a/components/spi_flash/sim/stubs/Makefile.files b/components/spi_flash/sim/stubs/Makefile.files index dfa0f2a64b1..82ff75c1e2e 100644 --- a/components/spi_flash/sim/stubs/Makefile.files +++ b/components/spi_flash/sim/stubs/Makefile.files @@ -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 \ diff --git a/components/spiffs/test_spiffs_host/Makefile.files b/components/spiffs/test_spiffs_host/Makefile.files index a066e02d467..8104f583121 100644 --- a/components/spiffs/test_spiffs_host/Makefile.files +++ b/components/spiffs/test_spiffs_host/Makefile.files @@ -31,6 +31,7 @@ INCLUDE_DIRS := \ xtensa/include \ xtensa/esp32/include \ soc/esp32/include \ + heap/include \ soc/include \ esp32/include \ bootloader_support/include \ diff --git a/components/wear_levelling/test_wl_host/Makefile b/components/wear_levelling/test_wl_host/Makefile index 4b48d492af5..1c6468d6292 100644 --- a/components/wear_levelling/test_wl_host/Makefile +++ b/components/wear_levelling/test_wl_host/Makefile @@ -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 diff --git a/components/wear_levelling/test_wl_host/Makefile.files b/components/wear_levelling/test_wl_host/Makefile.files index 1cd58a8cc25..d31308b41a5 100644 --- a/components/wear_levelling/test_wl_host/Makefile.files +++ b/components/wear_levelling/test_wl_host/Makefile.files @@ -22,6 +22,7 @@ INCLUDE_DIRS := \ vfs/include \ ) \ $(addprefix ../../../components/, \ + heap/include \ esp_rom/include \ esp_system/include \ esp_common/include \ @@ -30,6 +31,7 @@ INCLUDE_DIRS := \ xtensa/include \ xtensa/esp32/include \ soc/esp32/include \ + heap/include \ soc/include \ esp32/include \ bootloader_support/include \