Enable automatic reset after (re)flashing, closes issue #19

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@466 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2013-11-01 22:47:25 +00:00
parent 5107130ac0
commit 203e46daa6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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