From 5bbad5026cb810f61c2466d5c4bf3438ba820842 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sun, 26 May 2024 14:21:59 -0500 Subject: Finish hexedit and update README --- hexedit/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'hexedit/Makefile') diff --git a/hexedit/Makefile b/hexedit/Makefile index 2ff0812..d862c25 100644 --- a/hexedit/Makefile +++ b/hexedit/Makefile @@ -1,21 +1,21 @@ all: build -build: echo.uf2 +build: hexedit.uf2 -echo.uf2: echo.elf - ../elf/elf2uf2 echo.elf echo.uf2 +hexedit.uf2: hexedit.elf + ../elf/elf2uf2 hexedit.elf hexedit.uf2 -objects = main.o uart.o +objects = main.o uart.o hexedit.o -echo.elf: $(objects) - arm-none-eabi-ld -T pico_ram_only.ld -o echo.elf $(objects) ../setup/setup.so +hexedit.elf: $(objects) + arm-none-eabi-ld -T pico_persist.ld -o hexedit.elf $(objects) ../setup/setup.so $(objects): %.o: %.s arm-none-eabi-as -o $@ $< clean: - rm echo.elf echo.uf2 *.o + rm hexedit.elf hexedit.uf2 *.o -flash: echo.uf2 +flash: hexedit.uf2 [ -h /dev/disk/by-label/RPI-RP2 ] || sleep 3s - cat echo.uf2 > /dev/disk/by-label/RPI-RP2 + cat hexedit.uf2 > /dev/disk/by-label/RPI-RP2 -- cgit v1.2.3