PinguinoIDE / pinguino-ide

Open source integrated development environment (IDE)
GNU General Public License v2.0
80 stars 29 forks source link

Standalone firmware uploader #127

Open 2e0byo opened 3 years ago

2e0byo commented 3 years ago

Having shipped (literally) a pinguino-based device halfway round the world with a bug in it, I needed a way of uploading a .hex to it that anyone could use.

Threw together an uploader in python/tkinter compiled to an executable with pyinstaller, installed with a NSIS generated installer, and CI with GitHub Actions as I don't really have windows available.

https://github.com/Mad-Wombat-Labs/pinguino-firmware-uploader

  1. I wondered if this would be useful to the project. As it's very much a hack at the moment I could look at making it compatible with the uploader code normally used (I use a bunch of code I copied from the repository a while ago and hacked to make it behave with Python3). Would this be something people were interested in?
  2. Windows is a nightmare and I'm new to CI, but would it be worth building the windows installer with something like I've used here to ease development? Lots of users are stuck on windows.
  3. I've reused (hacked) a lot of Pinguino stuff, from the installer to the icons. I've credited the Pinguino project, but if anyone's offended by the branding I can remove it. I was hoping, though, that it might be of use to the project. I had no intention of violating copyright (etc).
  4. Pyinstaller is cross-platform, and there's nothing stopping this building for Mac or even Linux, so users can have a firmware uploader which doesn't need python installed. This would only be worth having if others are in the same boat.

Lastly I do realise that Pinguino is not for 'commercial projects'. But I can't be the only person who builds stuff around pinguino (or in my case just pinguino-bootloader) running PICs and occasionally gives it away, and then wants to fix bugs in the field.

MefhigosetH commented 3 years ago

Dear @2e0byo ,

Thank you very much for your interest in collaborating with Pinguino Project.

Let me reread your post and I'll be back with feedback shortly. Regards.

MefhigosetH commented 3 years ago

Dear @2e0byo ,

It's me again. I visit your repo, read the wiki, follow some source-code and I think it could be very helpfull for the Pinguino Project.

I will give it a try soon, as I have some Microchip PIC-2550 with no firmware burned-in at all, and I would come back with feedback later.

Thanks and best regards.