Replies: 7 comments 1 reply
-
Thank you very much! We'll look into it! |
Beta Was this translation helpful? Give feedback.
-
@AmirHmZz what is a benefit of your mpbridge over mpremote utility? |
Beta Was this translation helpful? Give feedback.
-
It's been 19 months since the first release of
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer.
Ok, I see. The main advantage of mpbridge is that the library keeps track of changed files. Other features could be easily implemented without it. The idea of hashes looks nice. To be honest, keedping track of hashes on the device seems a bit fragile to me: files may be modified somehow without mpbridge, and then thigs go a little bit out of control. Why I am asking you - I am deciding where to migrate from adafruit-ampy. mpremote and related stuff is is one option, but it has a great disadvantage - it does not support webrepl. So I'd probably prefer in-house kotlin communication library based on mpremote's ideas. |
Beta Was this translation helpful? Give feedback.
-
I didn't get what you mean but I can guess you've mentioned one of these cases: 1. What happens If some micropython code changes some files on the target device? 2. What happens If I use some other stuff to change files on target device?
Writing the whole communication stuff seems risky to me. Micropython is an active project and changes a lot over time. In that case you should always update communication stuff with the main repo and If these changes are missed some issues start to appear like #283, #274 and #271. By the way, in our company we will never deliver raw |
Beta Was this translation helpful? Give feedback.
-
Well, I just looked into mpremote repo, almost nothing is changed on communication level during a long period. |
Beta Was this translation helpful? Give feedback.
-
Fixing #271 did not need rocket science either but it took 7 months to gets fixed! It's about how this plugin is being maintained 1-2 years later.
BTW, the decision is at your discretion! Inspiring by mpbridge would be a nice option too! |
Beta Was this translation helpful? Give feedback.
-
I'm the maintainer of mpbridge project. It's a CLI tool to synchronise and manage files on a MicroPython running device. It depends on mpremote and uses it to communicate with boards. As long as mpremote is maintained by MicroPython maintainers officially, It's more reliable to depend on it.
I've been using your plugin for about 7 months until I found myself struggling repetitive flashing scripts slowly and re entering repl to debug my codes, so I created my own utility called mpbridge to facilitate my tasks.
I recommend you to take a look at repo and then think about migrating to mpbridge OR getting inspired by some of its features.
Beta Was this translation helpful? Give feedback.
All reactions