From da1d22988e3e616d1db1bf8fa0b17904d2554f5e Mon Sep 17 00:00:00 2001 From: Gale Faraday Date: Thu, 4 Sep 2025 20:32:07 -0500 Subject: [PATCH] feat(boot): Now using GNU objcopy instead of mot2bin for building ROM images --- code/boot/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/boot/makefile b/code/boot/makefile index 3d9528d..209c5b1 100644 --- a/code/boot/makefile +++ b/code/boot/makefile @@ -23,7 +23,7 @@ INCS := $(wildcard $(SRCDIR)*.inc) AS := lwasm LD := lwlink -FIX := mot2bin +FIX := objcopy ASFLAGS := -f obj LDFLAGS := -f srec -m map.txt -s linkscript @@ -36,7 +36,7 @@ all: $(TARGROM) # Fix srec into flashable bin file $(TARGROM): $(TARGREC) - $(FIX) -out $@ $< + $(FIX) -I srec -O binary $< $@ # Link objects $(TARGREC): $(OBJS)