diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-05-26 14:21:59 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-05-26 14:21:59 -0500 |
commit | 5bbad5026cb810f61c2466d5c4bf3438ba820842 (patch) | |
tree | 1fa99f91c1af046d812485ac52abf7b83eb2acdc /hexedit/Makefile | |
parent | 7388c270069c2d1418539bca1d2789a6d468ecc2 (diff) |
Finish hexedit and update README
Diffstat (limited to 'hexedit/Makefile')
-rw-r--r-- | hexedit/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
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 |