Giter Site home page Giter Site logo

mpr's People

Contributors

bulletmark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mpr's Issues

Is recursive put broken?

I was trying out mpr as a better mpremote and was wanting to copy a directory from local to remote recursively.

I am running in a windows command prompt and have a virtual env with mpr installed:

(raspberry-pi-pico) C:\Users\<snip>\gui\demo>pip list
Package            Version
------------------ -------
mpr                1.19
mpremote           1.20.0
pip                22.3.1

and help for command says put can do recursive

(raspberry-pi-pico) C:\Users\<snip>\gui\demo>mpr put -h
usage: mpr put [-h] [-f] [-r] src [src ...] dst

Copy one or more local files to directory on device.

positional arguments:
  src              name of local source file[s] on PC
  dst              name of destination dir on device

options:
  -h, --help       show this help message and exit
  -f, --file       destination is file, not directory
  -r, --recursive  copy local directory recursively to / on device

on my local I have

(raspberry-pi-pico) C:\Users\<snip>\gui\demo>tree
C:.
├───driver
│   └───generic
└───lib

and to "copy local directory recursively":

(raspberry-pi-pico) C:\Users\<snip>\gui\demo>mpr put -r driver /
mpremote requires source must be directory and target must be "/"

what I see is driver is a directory
and target I have put as /

I have also tried the destination as:

  • driver
  • /driver
  • /driver/
  • driver/
    and none of those worked.

Windows test

Hi... Tool looks interesting.. and did some small tests on a windows 10 platform. It appears i have problems opening a serial port here. Tried various versions of COM4, 'COM4' and even renamed it to COM3 whereafter i checked -c3... But no dice.. Has this been tested on windows?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.