Pymakr 1.1.13 does not work with VSCode 1.60.0
-
@Meric-NESSANGE Hello, how can I upload files to a pycom board through mpremote? My atom and pymakr updated automatically and now no working anymore :/
-
@jchernandez mpremote has a --help option. For copying files, you have to use the cp subcommand. So as example for copying a file to the board:
mpremote connect /dev/ttyUSB0 cp myfile.py :myfile.py
or just
mpremote connect /dev/ttyUSB0 cp myfile.py :
for using : as a shortcut for the baord's local directory and . for the PC's one. Copying back similar as:
mpremote connect /dev/ttyUSB0 cp :myfile.py myfile.py
or
mpremote connect /dev/ttyUSB0 cp :myfile.py .The device names at Windows are similar COM3, COM4, .... Shortcuts are:
u0forconnect /dev/tty/USB0Unfortunately the
mountcommand of mpremote does not work with the PyCom version of MicroPython. That version is too old.To run a local script without copying it to the board use the
runcommand. If you do not enter a command after the connect, mpremote opens a REPL session.And before I forget it: With Pycom devices and WiFi active you can always use FTP for copying files. A good FTP client is FileZilla. But some file managers allow using FTP paths as well. User name is
micro, password ispython. -
This post is deleted! -
@robert-hh said in Pymakr 1.1.13 does not work with VSCode 1.60.0:
@jchernandez mpremote has a --help option. For copying files, you have to use the cp subcommand. So as example for copying a file to the board:
mpremote connect /dev/ttyUSB0 cp myfile.py :myfile.py
or just
mpremote connect /dev/ttyUSB0 cp myfile.py :
for using : as a shortcut for the baord's local directory and . for the PC's one. Copying back similar as:
mpremote connect /dev/ttyUSB0 cp :myfile.py myfile.py
or
mpremote connect /dev/ttyUSB0 cp :myfile.py .The device names at Windows are similar COM3, COM4, .... Shortcuts are:
u0forconnect /dev/tty/USB0Unfortunately the
mountcommand of mpremote does not work with the PyCom version of MicroPython. That version is too old.To run a local script without copying it to the board use the
runcommand. If you do not enter a command after the connect, mpremote opens a REPL session cat marioAnd before I forget it: With Pycom devices and WiFi active you can always use FTP for copying files. A good FTP client is FileZilla. But some file managers allow using FTP paths as well. User name is
micro, password ispython.you can review the .py file, i think it has that problem
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login