esp-idf/components/newlib/port/CMakeLists.txt

6 lines
223 B
CMake

target_sources(${COMPONENT_LIB} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/esp_time_impl.c")
if(CONFIG_IDF_TARGET_ARCH_RISCV)
target_sources(${COMPONENT_LIB} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/riscv/port_stdatomic.S")
endif()