2020-07-14 12:36:05 +00:00
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
if(NOT "${target}" STREQUAL "esp32s3")
|
|
|
|
return()
|
|
|
|
endif()
|
2020-07-23 05:40:10 +00:00
|
|
|
|
2021-03-19 12:03:13 +00:00
|
|
|
if(NOT BOOTLOADER_BUILD)
|
|
|
|
# [refactor-todo] propagate these requirements for compatibility
|
|
|
|
# remove in the future
|
|
|
|
set(legacy_reqs driver efuse soc)
|
|
|
|
endif()
|
2020-07-23 05:40:10 +00:00
|
|
|
|
2021-07-15 04:55:15 +00:00
|
|
|
idf_component_register(REQUIRES xtensa "${legacy_reqs}"
|
2021-03-19 12:03:13 +00:00
|
|
|
REQUIRED_IDF_TARGETS esp32s3)
|