mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a48b5246cc
ESP32 in revision0 and revision1 uses touchpad to provide current to oscillate xtal 32k. But revision2 and revision3 do not need to do that. Note: touchpad can not work and toupad/ULP wakeup sources are not available when toupad provides current to xtal 32k
16 lines
429 B
CMake
16 lines
429 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
|
|
set(requires soc)
|
|
if(${target} STREQUAL "esp32")
|
|
list(APPEND requires efuse)
|
|
endif()
|
|
|
|
idf_component_register(SRCS "compare_set.c"
|
|
"cpu_util.c"
|
|
INCLUDE_DIRS include
|
|
REQUIRES ${requires}
|
|
LDFRAGMENTS linker.lf)
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
add_subdirectory(port/${target})
|