esp-idf/components/esp32/CMakeLists.txt
Marius Vikhammer 6fbef44ffc rom: remove deprecated headers from esp32 components
These have been replaced by headers in the esp_rom component.
2021-12-14 09:48:11 +08:00

14 lines
376 B
CMake

idf_build_get_property(target IDF_TARGET)
if(NOT "${target}" STREQUAL "esp32")
return()
endif()
if(NOT BOOTLOADER_BUILD)
# [refactor-todo] propagate these requirements for compatibility
# remove in the future
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(REQUIRES xtensa "${legacy_reqs}"
REQUIRED_IDF_TARGETS esp32)