Skip to content

Python 3 compatibility#5

Open
Snigelson wants to merge 5 commits into
jsnyder:masterfrom
Snigelson:master
Open

Python 3 compatibility#5
Snigelson wants to merge 5 commits into
jsnyder:masterfrom
Snigelson:master

Conversation

@Snigelson

Copy link
Copy Markdown

Should still be backwards compatible with Python 2

@florisla

Copy link
Copy Markdown

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.

@kuraga

kuraga commented May 25, 2017

Copy link
Copy Markdown

@florisla could you please publish them?

@rickbase1

Copy link
Copy Markdown

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

@royberkeveld

royberkeveld commented Jul 5, 2017

Copy link
Copy Markdown

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.

@florisla

florisla commented Mar 6, 2018

Copy link
Copy Markdown

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

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

@susundberg

Copy link
Copy Markdown

Please merge changes.

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

@florisla

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants