Merge pull request #29 from episource/feature/no-offset-use-elf
Use *.elf instead of *.bin if no offset given
This commit is contained in:
commit
1a9864187a
@ -222,6 +222,8 @@ elif upload_protocol in debug_tools:
|
||||
UPLOADER="openocd",
|
||||
UPLOADERFLAGS=openocd_args,
|
||||
UPLOADCMD="$UPLOADER $UPLOADERFLAGS")
|
||||
if not board.get("upload").get("offset_address"):
|
||||
upload_source = target_elf
|
||||
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
|
||||
|
||||
# custom upload tool
|
||||
|
Loading…
x
Reference in New Issue
Block a user