diff --git a/Makefile b/Makefile index 380bff52a..14720dc8b 100644 --- a/Makefile +++ b/Makefile @@ -182,7 +182,7 @@ TARGET_MAP = $(OBJECT_DIR)/baseflight_$(TARGET).map # It would be nice to compute these lists, but that seems to be just beyond make. $(TARGET_HEX): $(TARGET_ELF) - $(OBJCOPY) -O ihex $< $@ + $(OBJCOPY) -O ihex --set-start 0x8000000 $< $@ $(TARGET_ELF): $(TARGET_OBJS) $(CC) -o $@ $^ $(LDFLAGS) diff --git a/support/stmloader/stmbootloader.c b/support/stmloader/stmbootloader.c index d6312cd11..c159c7e9c 100644 --- a/support/stmloader/stmbootloader.c +++ b/support/stmloader/stmbootloader.c @@ -322,7 +322,7 @@ void stmLoader(serialStruct_t *s, FILE *fp, unsigned char overrideParity, unsign printf("Flashing device...\n"); jumpAddress = stmHexLoader(s, fp); if (jumpAddress) { - printf("\nFlash complete, cycle power\n"); + printf("\nFlash complete, executing.\n"); go: // send GO command