From: Keith Packard Date: Thu, 7 Aug 2025 20:44:14 +0000 (-0700) Subject: altos/stm: Go back to default crt0 for flash loader X-Git-Tag: 1.9.22~1^2~3 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=3ba484c7b3696a18d87239d5474c633321bd7a2b;p=fw%2Faltos altos/stm: Go back to default crt0 for flash loader Well, that's silly -- the chip setup code is all in a constructor, so we need the normal crt0 to make sure it gets invoked. Signed-off-by: Keith Packard --- diff --git a/src/stm/Makefile-flash.defs b/src/stm/Makefile-flash.defs index 3b0f0bad..77681158 100644 --- a/src/stm/Makefile-flash.defs +++ b/src/stm/Makefile-flash.defs @@ -35,7 +35,7 @@ IDPRODUCT=0x000a CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stm -Taltos-loader.ld -n --crt0=minimal +LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stm -Taltos-loader.ld -n PROGNAME=$(HARDWARE)-altos-flash PROG=$(PROGNAME)-$(VERSION).elf