Merge branch 'master' of gitee.com:IsYourGod/mkrtos-real

This commit is contained in:
zhangzheng
2023-09-19 22:29:45 +08:00
263 changed files with 66 additions and 27249 deletions

View File

@@ -35,7 +35,7 @@ add_dependencies(
)
set_target_properties(
fatfs.elf PROPERTIES LINK_FLAGS
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
)
add_custom_target(
fatfs_dump ALL

View File

@@ -33,7 +33,7 @@ add_dependencies(init.elf
muslc
)
set_target_properties(init.elf PROPERTIES LINK_FLAGS
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
)
#-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds
add_custom_target(

View File

@@ -31,7 +31,7 @@ add_dependencies(path_manager.elf
muslc
)
set_target_properties(path_manager.elf PROPERTIES LINK_FLAGS
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
)
add_custom_target(
path_manager_dump ALL

View File

@@ -38,7 +38,7 @@ add_dependencies(shell.elf
muslc
)
set_target_properties(shell.elf PROPERTIES LINK_FLAGS
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
)
add_custom_target(
shell_dump ALL