Correct upload script for detection of F1/F4 start address.
This commit is contained in:
parent
d5be7b7a50
commit
530ee15153
|
@ -108,7 +108,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
bin = open(args.progfile, "rb").read()
|
bin = open(args.progfile, "rb").read()
|
||||||
|
|
||||||
if product.find("F4") :
|
if "F4" in product:
|
||||||
addr = 0x8004000
|
addr = 0x8004000
|
||||||
else:
|
else:
|
||||||
addr = 0x8002000
|
addr = 0x8002000
|
||||||
|
|
Loading…
Reference in New Issue