stm32loader icon indicating copy to clipboard operation
stm32loader copied to clipboard

Python 3 compatibility

Open Snigelson opened this issue 8 years ago • 7 comments

Should still be backwards compatible with Python 2

Snigelson avatar Jan 10 '17 13:01 Snigelson

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 avatar Mar 22 '17 14:03 florisla

@florisla could you please publish them?

kuraga avatar May 25 '17 21:05 kuraga

@florisla I second Kuraga's request to publish a python3 compatible version of this tool as soon as you can. Thanks!

rickbase1 avatar Jun 18 '17 17:06 rickbase1

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.

royberkeveld avatar Jul 05 '17 17:07 royberkeveld

I've finally cleaned up my Python 3 branch. It works very similar to @royberkeveld 's of course...

See https://github.com/florisla/stm32loader

florisla avatar Mar 06 '18 19:03 florisla

Please merge changes.

+1 for @florisla - i used your version and it works fine with my configuration.

susundberg avatar May 04 '18 08:05 susundberg

@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.

florisla avatar May 16 '18 06:05 florisla