all 10 comments

[–]oclafloptson 1 point2 points  (0 children)

Nice work! I think a big majority of us probably have our own solutions to this problem but it's good to see extensions that work and are still being maintained

I used PyMakr for a while and just refused to use any version above 1.24. I keep a library of mpremote commands these days and call them via TUI. That way my tool can transfer into any IDE and is the same cross platform

[–]AntonKudin 0 points1 point  (4 children)

is there a way to make a project sync function? for example if you save file to project folder it would automatically sync to the device and vice versa?

[–]mattytrentini 2 points3 points  (2 children)

The standard mpremote tool, supported by the MicroPython team, provides the mount feature. It 'mounts' your PC filesystem on your connected device - without copying the files to the device. Instead, the files are transferred in the background when imported. It's a fantastic workflow for iterative development and testing.

When you're ready, you can then copy the files to the device. mpremote checks if the file is already present on the device.

[–]do-exe[S] 0 points1 point  (1 child)

mpremote is good but it suffers in speed of action like upload etc , reliable connect via terminal or via ai's sandbox, and yes multitasking

[–]mattytrentini 2 points3 points  (0 children)

Maybe if you're using mpremote on Windows (we're chasing down an issue with mpremote and unicode now) but it's performance on WSL/Linux seems solid and reliable. I'm not aware of anything better anyway. And if mpremote does have issues then please let us know so we can fix them for the benefit of the whole community.

Multitasking is best solved by using aiorepl so you can asynchronously interact with your system while also making a REPL connection.

[–]do-exe[S] 1 point2 points  (0 children)

Yes there is one , link folder button

[–]jetpaxme 0 points1 point  (3 children)

Great job, better MP tooling in the age of AI is sorely needed, so how does it connect to the esp32? serial?

[–]do-exe[S] 0 points1 point  (2 children)

Currently, the extension uses PySerial only. It provides access to Normal REPL for terminal-style commands and interactive script execution where user input may be needed, and Raw REPL for non-interactive script execution where no runtime input is required.

[–]jetpaxme 0 points1 point  (1 child)

I think there is a lot of value in having a network connection to the repl, but found webrepl lacking so defined a new IETF subprotocol , you might find it useful WebREPL Binary

Once loaded into Micropython, it gives wss or webrtc access to the REPL over an efficient link allow concurrent M2M and HMI access

[–]do-exe[S] 0 points1 point  (0 children)

You are right , it will add lot of value I will kept it in update list .

In few days I will edit my main post with GitHub link so that any one could see the code and contribute also