aboutsummaryrefslogtreecommitdiff
path: root/hexedit/Makefile
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:11:20 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:11:20 -0500
commitb38a844ed9f6ad17d58db3e143ebc0c858762ec6 (patch)
tree89d87405750455c7f00785647370a6a87d8b0f53 /hexedit/Makefile
parent86b72b11d6abcc602a93aa480f27644cc0b34373 (diff)
Add checksum to boot sector
Diffstat (limited to 'hexedit/Makefile')
-rw-r--r--hexedit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/hexedit/Makefile b/hexedit/Makefile
index d862c25..dd70409 100644
--- a/hexedit/Makefile
+++ b/hexedit/Makefile
@@ -5,10 +5,11 @@ build: hexedit.uf2
hexedit.uf2: hexedit.elf
../elf/elf2uf2 hexedit.elf hexedit.uf2
-objects = main.o uart.o hexedit.o
+objects = uart.o main.o hexedit.o
hexedit.elf: $(objects)
arm-none-eabi-ld -T pico_persist.ld -o hexedit.elf $(objects) ../setup/setup.so
+ ./checksum_pico_elf.py hexedit.elf
$(objects): %.o: %.s
arm-none-eabi-as -o $@ $<