Monday, 14 February 2022

Show HN: Tools and code to make MicroPython development faster and more fun https://bit.ly/3uQMmFm

Show HN: Tools and code to make MicroPython development faster and more fun Because I love bringing small devices to life and I also love Python I was very excited when MicroPython started to be conveniently available for platforms like the ESP32. But it's still quite cumbersome and error prone to get your code on a device and make it run. And then you have to worry about wearing out the flash memory by continuously copying over new versions of your code. This is why I came up with "esp32_mpy_robooter" which I now use among a couple of private projects, e.g. for the Watchy ([1]) and the M5StickC ([2]). Rather than copying over modified Python files to the device over and over again it (the toolset) creates a RAM disk on the device and _fetches_ the source files via WiFi, which means you don't have to reboot the device and you can even stay in the REPL! Non-modified files are taken care of using file checksums and the server on your development machine (providing the actual source files) even pre-compiles them to byte code which makes them smaller and load faster. The project is far from ready and still needs a developer heart to like it but since I currently use it for me alone it can only grow to a lovable gem by making me feel someone else is valuing the effort - this is why I'm here :) [1]: https://bit.ly/3HQrxOj [2]: https://bit.ly/3JnJgN6 [3]: https://bit.ly/34ZZH3e [4]: https://bit.ly/3rRlyTS [5]: https://bit.ly/3JuMChq [6]: https://bit.ly/3rNdH9M https://bit.ly/34YgXWB February 15, 2022 at 07:08AM

No comments:

Post a Comment