stm32loader
stm32loader copied to clipboard
Python 3 compatibility
Should still be backwards compatible with Python 2
This avoids syntax errors on Python 3, but it doesn't work yet. Main things that need to change is to use bytes/bytearray when working with data.
I have a port to Python 3 in the works (tested read/erase/write/verify) but I haven't yet created the commits for it.
@florisla could you please publish them?
@florisla I second Kuraga's request to publish a python3 compatible version of this tool as soon as you can. Thanks!
I also needed Python 3 compatibility, so I fixed it before discovering you were already working on it. I tested read/erase/write/verify myself. Here is a gist.
I've finally cleaned up my Python 3 branch. It works very similar to @royberkeveld 's of course...
See https://github.com/florisla/stm32loader
Please merge changes.
+1 for @florisla - i used your version and it works fine with my configuration.
@susundberg This repository has seen no updates for four years now, I think we can say it's not maintained anymore. You're welcome to use my fork, I'll try to maintain it.