forked from platformio/platformio-core
Fix firmware uploading for "nordicrf51" development platform // Resolve #316
This commit is contained in:
1 parent
96f4667755
commit
306b0a2f62
3 files changed
+11
-6
No files matched your search
@@ -25,9 +25,9 @@ target_elf = env.BuildProgram()
|
||||
#
|
||||
|
||||
if "uploadlazy" in COMMAND_LINE_TARGETS:
|
||||
target_firm = join("$BUILD_DIR", "firmware.bin")
|
||||
target_firm = join("$BUILD_DIR", "firmware.hex")
|
||||
else:
|
||||
target_firm = env.ElfToBin(join("$BUILD_DIR", "firmware"), target_elf)
|
||||
target_firm = env.ElfToHex(join("$BUILD_DIR", "firmware"), target_elf)
|
||||
|
||||
#
|
||||
# Target: Print binary size
|
||||
|
||||
Reference in new issue
Block a user