summaryrefslogtreecommitdiff
path: root/tools/mpremote
AgeCommit message (Collapse)Author
2021-12-29tools/mpremote: Add link to mpremote docs URL in help message.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-12-29tools/mpremote: Add help command.Sergei Silnov
Fixes issue #7480
2021-12-22tools/mpremote: Add mkdir and rmdir to RemoteFS.Michael Bentley
This allows the remote MicroPython instance to create and delete directories from the mounted host filesystem in addition to the already existing functionality of reading, creating, and modifying files. Signed-off-by: Michael Bentley <mikebentley15@gmail.com>
2021-12-09tools/mpremote: Implement seek and flush in ioctl method.Damien George
Fixes issue #8058. Signed-off-by: Damien George <damien@micropython.org>
2021-09-01tools/mpremote: Bump version to 0.0.6.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-08-19tools/mpremote: Remove support for pyb.USB_VCP in/out specialisation.Damien George
The sys.stdin.buffer and sys.stdout.buffer streams work just as well (and are just as fast) as pyb.USB_VCP on stm32 devices, so there's no need to have the USB_VCP specialisation code, which just adds complexity. Also, on stm32 devices with both USB and UART (or other serial interface), if something other than the USB_VCP port is used for the serial connection then mpremote mount will not work because it will default to reading and writing on USB_VCP instead of the other connected serial stream. As part of this simplification, support for a second port as input is removed (this feature was never exposed to the user). Signed-off-by: Damien George <damien@micropython.org>
2021-08-14tools/mpremote: Add "devs" shortcut for "connect list".Damien George
See issue #7480. Signed-off-by: Damien George <damien@micropython.org>
2021-08-14tools/mpremote: Fix connect-list in case VID/PID are None.Damien George
Which can be the case on Windows and macOS for certain serial devices. Fixes issue #7636. Signed-off-by: Damien George <damien@micropython.org>
2021-07-23tools/mpremote: Raise OSError on unsupported RemoteFile.seek.Michel Bouwmans
Signed-off-by: Michel Bouwmans <m.bouwmans@ep-games.eu>
2021-07-23tools/mpremote: Add seek whence for mounted files.Michel Bouwmans
Fixes issue #7534. Signed-off-by: Michel Bouwmans <m.bouwmans@ep-games.eu>
2021-07-02tools/mpremote: Swap order of PID and VID in connect-list output.Andrew Scheller
Fixes issue #7481.
2021-06-15tools/mpremote: Use signal to capture and handle ctrl-C on Windows.Damien George
Now a ctrl-C will not stop mpremote, rather this character will be passed through to the attached device. The mpremote version is also increased to 0.0.5. Signed-off-by: Damien George <damien@micropython.org>
2021-06-15tools/mpremote: Use available ports instead of auto-connect list.Damien George
Using just the list of available ports, instead of a hard-coded list of possible ports, means that all ports will be available for auto connection. And the order that they will be attempted in will match what's printed by "mpremote connect list" (and will be the same as before, trying ACMx before USBx). Auto-connect will also now work on Mac, and will allow all COM ports on Windows. Signed-off-by: Damien George <damien@micropython.org>
2021-05-29tools/mpremote: Add new CLI utility to interact with remote device.Damien George
This has been under development since April 2017. See #3034 and #6375. Signed-off-by: Damien George <damien@micropython.org>