esp_hw_support: Move rtc.h header from target components

This commit is contained in:
Angus Gratton 2021-07-15 14:55:15 +10:00 committed by Michael (XIAO Xufeng)
parent 86061a720b
commit 9d6366f290
9 changed files with 4 additions and 8 deletions

View File

@ -9,8 +9,7 @@ if(NOT BOOTLOADER_BUILD)
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(INCLUDE_DIRS include
REQUIRES riscv "${legacy_reqs}"
idf_component_register(REQUIRES riscv "${legacy_reqs}"
REQUIRED_IDF_TARGETS esp32c3)
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32c3.peripherals.ld")

View File

@ -9,8 +9,7 @@ if(NOT BOOTLOADER_BUILD)
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(INCLUDE_DIRS include
REQUIRES riscv "${legacy_reqs}"
idf_component_register(REQUIRES riscv "${legacy_reqs}"
REQUIRED_IDF_TARGETS esp32h2)
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32h2.peripherals.ld")

View File

@ -9,8 +9,7 @@ if(NOT BOOTLOADER_BUILD)
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(INCLUDE_DIRS include
REQUIRES xtensa "${legacy_reqs}"
idf_component_register(REQUIRES xtensa "${legacy_reqs}"
REQUIRED_IDF_TARGETS esp32s2)
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32s2.peripherals.ld")

View File

@ -9,8 +9,7 @@ if(NOT BOOTLOADER_BUILD)
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(INCLUDE_DIRS include
REQUIRES xtensa "${legacy_reqs}"
idf_component_register(REQUIRES xtensa "${legacy_reqs}"
REQUIRED_IDF_TARGETS esp32s3)
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32s3.peripherals.ld")