From b38a844ed9f6ad17d58db3e143ebc0c858762ec6 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 4 Jun 2024 19:11:20 -0500 Subject: Add checksum to boot sector --- hexedit/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hexedit/Makefile') 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 $@ $< -- cgit v1.2.3