2020-09-08 08:17:18 -04:00
|
|
|
set(srcs "../async_memcpy_impl_gdma.c" "dport_panic_highint_hdl.S" "clk.c" "reset_reason.c")
|
2020-07-15 05:42:34 -04:00
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
|
|
|
|
2020-07-29 10:03:46 -04:00
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE ${srcs})
|
|
|
|
|
2020-07-15 05:42:34 -04:00
|
|
|
#ld_include_panic_highint_hdl is added as an undefined symbol because otherwise the
|
|
|
|
#linker will ignore panic_highint_hdl.S as it has no other files depending on any
|
|
|
|
#symbols in it.
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-u ld_include_panic_highint_hdl")
|