create xtensa component

1. move xtensa specific files out of esp32 component
2. merge xtensa-debug-module component into xtensa
This commit is contained in:
morris
2019-03-25 21:11:53 +08:00
committed by suda-morris
parent da90966828
commit dbdb299bb1
49 changed files with 38 additions and 29 deletions

View File

@@ -14,7 +14,7 @@ set(COMPONENTS bootloader esptool_py esp32 partition_table soc bootloader_suppor
set(BOOTLOADER_BUILD 1)
add_definitions(-DBOOTLOADER_BUILD=1)
set(COMPONENT_REQUIRES_COMMON log esp32 soc esp_rom esp_common)
set(COMPONENT_REQUIRES_COMMON log esp32 soc esp_rom esp_common xtensa)
include("${IDF_PATH}/tools/cmake/project.cmake")
project(bootloader)

View File

@@ -18,6 +18,7 @@ CXXFLAGS =
CFLAGS += -I $(IDF_PATH)/components/esp32/include
CFLAGS += -I $(IDF_PATH)/components/esp_rom/include
CFLAGS += -I $(IDF_PATH)/components/esp_common/include
CFLAGS += -I $(IDF_PATH)/components/xtensa/include -I $(IDF_PATH)/components/xtensa/esp32/include
# The bootloader pseudo-component is also included in this build, for its Kconfig.projbuild to be included.
#