From 3ba484c7b3696a18d87239d5474c633321bd7a2b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 7 Aug 2025 13:44:14 -0700 Subject: [PATCH] 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 --- src/stm/Makefile-flash.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2