removed uneeded lines.

This commit is contained in:
Jake Goodwin 2025-03-08 18:45:22 -08:00
parent de1e09c265
commit 968570e898

View file

@ -6,11 +6,9 @@ add_executable(${PROJECT_NAME}
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/extralibs
)
target_link_libraries(${PROJECT_NAME}
#ch32fun
)
target_compile_options(${PROJECT_NAME} PUBLIC
@ -26,11 +24,7 @@ target_compile_options(${PROJECT_NAME} PUBLIC
-DCH32V003=1
-static-libgcc
-nostdlib
#-Wl,--print-memory-usage
#-Wl,-Map=${PROJECT_NAME}.map
-lgcc
#-Wl,--gc-sections
#-T${CMAKE_SOURCE_DIR}/src/linker_script.ld
)
target_link_options(${PROJECT_NAME} PUBLIC