Show HN: Tools and code to make MicroPython development faster and more fun (projects.om-office.de)

4 points by meta-level ↗ HN
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://watchy.sqfmi.com/

[2]: https://docs.m5stack.com/en/core/m5stickc_plus

[3]: https://projects.om-office.de/frans/watchy.py

[4]: https://projects.om-office.de/frans/m5stickc_multitool

[5]: https://projects.om-office.de/frans/m5paper_multitool

[6]: https://projects.om-office.de/frans/esp32_mpy_audiokit

0 comments

[ 3.1 ms ] story [ 9.9 ms ] thread

No comments yet.