File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -291,15 +291,12 @@ def main():
291
291
argList = args .images
292
292
293
293
if args .skip :
294
- idx = argList .find ("../ build/AppTocPackage.bin 0x" )
295
- argList = argList [idx : idx + 37 ]
294
+ idx = argList .find ("build/AppTocPackage.bin 0x" )
295
+ argList = argList [idx : idx + 35 ]
296
296
297
297
# validate all parameters
298
298
argList = validateArgList (action , argList .strip (), args .pad )
299
299
300
- if sys .platform == "linux" or sys .platform == "darwin" :
301
- argList = argList .replace ("../" , "" )
302
-
303
300
print ("[INFO]" , action + argList )
304
301
305
302
if method == "jtag" and not args .erase : # erase via jtag not yet supported!
@@ -438,7 +435,6 @@ def main():
438
435
addr = items [e ]
439
436
address = int (addr , base = 16 )
440
437
fileName = items [e - 1 ]
441
- fileName = fileName .replace ("..\\ " , "" )
442
438
443
439
if (
444
440
burn_mram_isp (
Original file line number Diff line number Diff line change 1
- set semihosting args ../ build/AppTocPackage.bin 0x8057bf50
2
- continue
3
- wait
4
- reset reset.hardware
1
+ set semihosting args build/AppTocPackage.bin 0x8057bf50
2
+ continue
3
+ wait
4
+ reset reset.hardware
You can’t perform that action at this time.
0 commit comments