1 2target_sources(${PROJECT_NAME} 3 PRIVATE 4 # {{BEGIN_TARGET_SOURCES}} 5 ${CMAKE_CURRENT_LIST_DIR}/src/tx_clib_lock.c 6 ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.c 7 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.S 8 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.S 9 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.c 10 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.S 11 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.S 12 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.S 13 ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.S 14 ${CMAKE_CURRENT_LIST_DIR}/src/tx_xtensa_stack_error_handler.c 15 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_context.S 16 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_coproc_handler.S 17 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_init.c 18 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_intr_asm.S 19 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_intr.c 20 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_intr_wrapper.c 21 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_overlay_os_hook.c 22 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_vectors.S 23 ${CMAKE_CURRENT_LIST_DIR}/src/xtensa_vectors_xea3.S 24 25 # {{END_TARGET_SOURCES}} 26) 27 28target_include_directories(${PROJECT_NAME} 29 PUBLIC 30 ${CMAKE_CURRENT_LIST_DIR}/inc 31) 32 33set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}/src/xtensa_vectors_xea3.S 34 TARGET_DIRECTORY ${PROJECT_NAME} 35 PROPERTIES COMPILE_OPTIONS "-mtext-section-literals") 36 37