📂 MPBridge : MicroPython file system bridge #10240
Replies: 9 comments 14 replies
-
I attempted to run this under Linux Mint 20.3 with this result which I've never seen before: $ ./main.py
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408. The system was in a peculiar state with the mouse cursor disabled. I tried to break in with ^C
^C^X
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
from: can't read /var/mail/typing
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
./main.py: line 8: syntax error near unexpected token `('
./main.py: line 8: `from watchdog.events import (' I had installed the latest version of watchdog. |
Beta Was this translation helpful? Give feedback.
-
This problem proved to be a misconfiguration of my machine. It's important to install This is very useful, especially when the target has a lot of files and directories. |
Beta Was this translation helpful? Give feedback.
-
Have you tried https://github.com/dhylands/rshell |
Beta Was this translation helpful? Give feedback.
-
have you seen |
Beta Was this translation helpful? Give feedback.
-
WOW I LOVE IT 💘 |
Beta Was this translation helpful? Give feedback.
-
Calm down my excitement. |
Beta Was this translation helpful? Give feedback.
-
🎉 Version
|
Beta Was this translation helpful? Give feedback.
-
After 3 weeks from first publish on PyPI, Now in version |
Beta Was this translation helpful? Give feedback.
-
We've been relying on a few helper tools or IDEs for these workflows:
The appearance of mpremote has made me very happy. All operations can be completed in the terminal, and the dependent projects of the development environment are greatly reduced. However, each operation needs to enter the path of each file in the terminal. Even though most terminals have the function of retaining historical commands and can quickly switch and execute several commands, it is still somewhat inconvenient.
Still does not need any additional GUI interface, but makes full use of the graphical file management interface that comes with the operating system. Just keep mpbridge running in the background, and any file changes in the path you specify will be automatically synced to the micropython device, and a REPL is also available in the terminal. Now you only need to focus on the code development of micropython. If you ask what code editor should you choose? Feel free! Just you like! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've developed a simple minimal file manager-like tool for MicroPython running devices which uses platforms file manager (i.e.
explorer.exe
on Windows) to make it easier to manage files on MicroPython devices. It usesmpremote
for communication andwatchdog
to capture file system events and apply changes on connected device. I've tested it on Windows but theoretically it should work on other platforms too. One of the most important advantages of this tool is It doesn't provide any uncomfortable or old-school GUI and uses OS' file manager. This point allows users to use any tool/application that they wish to modify files on devices.Github repo :
https://github.com/AmirHmZz/mpbridge
Beta Was this translation helpful? Give feedback.
All reactions