aboutsummaryrefslogtreecommitdiff
path: root/hexedit/Makefile
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-05-20 23:19:14 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-05-20 23:19:14 -0500
commit7388c270069c2d1418539bca1d2789a6d468ecc2 (patch)
treed3848031f6c2d4d45ec0a7c75b12a9f476680726 /hexedit/Makefile
parent7f47fc894d43739fb0107fd17e76f65ae2bf46bc (diff)
Make shared object for setup routines
Diffstat (limited to 'hexedit/Makefile')
-rw-r--r--hexedit/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/hexedit/Makefile b/hexedit/Makefile
index 23941da..2ff0812 100644
--- a/hexedit/Makefile
+++ b/hexedit/Makefile
@@ -5,10 +5,10 @@ build: echo.uf2
echo.uf2: echo.elf
../elf/elf2uf2 echo.elf echo.uf2
-objects = main.o xosc.o clocks.o gpio.o uart.o
+objects = main.o uart.o
echo.elf: $(objects)
- arm-none-eabi-ld -T pico_ram_only.ld -o echo.elf $(objects)
+ arm-none-eabi-ld -T pico_ram_only.ld -o echo.elf $(objects) ../setup/setup.so
$(objects): %.o: %.s
arm-none-eabi-as -o $@ $<
@@ -17,5 +17,5 @@ clean:
rm echo.elf echo.uf2 *.o
flash: echo.uf2
- [ -h /dev/disk/by-label/RPI-RP2 ] || sleep 2s
+ [ -h /dev/disk/by-label/RPI-RP2 ] || sleep 3s
cat echo.uf2 > /dev/disk/by-label/RPI-RP2