moved and updated with target link libs.

This commit is contained in:
jakeg00dwin 2024-12-06 21:59:12 -08:00
parent 272eed6304
commit beff37f324
1 changed files with 10 additions and 4 deletions

View File

@ -1,10 +1,16 @@
# LOCATION: projectroot/src
add_executable(main
main.c
ch32v20x_it.c
)
add_subdirectory(core)
add_subdirectory(peripheral)
add_subdirectory(system)
add_subdirectory(startup)
add_executable(main
main.c
ch32v20x_it.c
)
target_link_libraries(main
core_riscv
)