Mercurial > lcfOS
diff python/st-flash.py @ 129:9e350a7dde98
Changed architecture and updated the util
author | Windel Bouwman |
---|---|
date | Fri, 18 Jan 2013 12:52:11 +0100 |
parents | 51cc127648e4 |
children | 654093a9a1e3 |
line wrap: on
line diff
--- a/python/st-flash.py Sun Jan 13 17:31:35 2013 +0100 +++ b/python/st-flash.py Fri Jan 18 12:52:11 2013 +0100 @@ -51,7 +51,7 @@ sys.exit(2) # Retrieve the connected device, if any: -dev = stl.getDevice() +dev = stl.createDevice() if args.command == 'read': dev_content = dev.readFlash(args.address, args.size)