Show HN: Tools and code to make MicroPython development faster and more fun https://ift.tt/dJbgTZS
February 14, 2022
0
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://ift.tt/Awagim4 [2]: https://ift.tt/l82I9yc [3]: https://ift.tt/dq9oBGl [4]: https://ift.tt/FAI9kdv [5]: https://ift.tt/275DPu4 [6]: https://ift.tt/8v0QWYp https://ift.tt/0uniZKe February 15, 2022 at 11:38AM
Tags