diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-01-17 18:13:46 -0600 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-01-17 18:13:46 -0600 |
commit | 473e52cbe7cbee0333b7d97d91c4bbf95c1b3225 (patch) | |
tree | 2cfac6ef6e01b65471cc8afedb109066a552c97a /Makefile | |
parent | 0a843c64d172c1709ea780c43867933c670f4ee4 (diff) |
Fix UART bugs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,17 +1,17 @@ all: build -build: blink.uf2 +build: echo.uf2 -blink.uf2: blink.elf - ./elf2uf2 blink.elf blink.uf2 +echo.uf2: echo.elf + ./elf2uf2 echo.elf echo.uf2 -objects = main.o blink.o clocks.o gpio.o pll.o uart.o xosc.o +objects = main.o xosc.o clocks.o gpio.o uart.o -blink.elf: $(objects) - arm-none-eabi-ld -T pico_ram_only.ld -o blink.elf $(objects) +echo.elf: $(objects) + arm-none-eabi-ld -T pico_ram_only.ld -o echo.elf $(objects) $(objects): %.o: %.s arm-none-eabi-as -o $@ $< clean: - rm blink.elf blink.uf2 *.o + rm echo.elf echo.uf2 *.o |