diff --git a/examples/stm32/Makefile.include b/examples/stm32/Makefile.include index 37bfcf2e..d603d397 100644 --- a/examples/stm32/Makefile.include +++ b/examples/stm32/Makefile.include @@ -76,7 +76,7 @@ flash: $(BINARY).flash %.elf: $(OBJS) $(LDSCRIPT) @#printf " LD $(subst $(shell pwd)/,,$(@))\n" - $(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJS) -lopenstm32 + $(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJS) -lopencm3_stm32 %.o: %.c Makefile @#printf " CC $(subst $(shell pwd)/,,$(@))\n" diff --git a/lib/stm32/libopenstm32.ld b/lib/stm32/stm32.ld similarity index 100% rename from lib/stm32/libopenstm32.ld rename to lib/stm32/stm32.ld