1idf_component_register(SRCS "test_startup_main.c" 2 INCLUDE_DIRS ".") 3 4if(CONFIG_SINGLE_CORE_VARIANT) 5 target_sources(${COMPONENT_LIB} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/chip_info_patch.c") 6 target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_chip_info") 7endif() 8