diff options
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 |