File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ target_link_options(flash_loader PUBLIC "-Wl,--no-warn-rwx-segments")
9797target_link_options (flash_loader PUBLIC "-T${CMAKE_SOURCE_DIR} /linkerscript.ld" )
9898
9999# Custom commands for processing the build binary and show some statistics and debug info
100- add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-objcopy ARGS -O binary -R .bss -R . stack flash_loader.elf flash_loader.bin)
100+ add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-objcopy ARGS -O binary -R .stack flash_loader.elf flash_loader.bin)
101101add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-objdump ARGS -C -S flash_loader.elf > flash_loader.lss)
102102add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-objdump ARGS -C -sj PrgCode -sj DevDscr -sj .bss -sj .data -sj .rodata -S flash_loader.elf > flash_loader.memory)
103- add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-size ARGS -A flash_loader.elf -x)
103+ add_custom_command (TARGET flash_loader DEPENDS ${CMAKE_BINARY_DIR} /flash_loader.elf POST_BUILD COMMAND arm-none-eabi-size ARGS -A flash_loader.elf -x)
You can’t perform that action at this time.
0 commit comments