Projects:Badge/ampy
From SHA2017 Wiki
< Projects:Badge
Revision as of 00:42, 26 June 2017 by Anus (talk | contribs) (Created page with "[https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy Install ampy] <nowiki>Usage: ampy [OPTIONS] COMMAND [ARGS]... ampy - Adafruit MicroPyt...")
Usage: ampy [OPTIONS] COMMAND [ARGS]...
ampy - Adafruit MicroPython Tool
Ampy is a tool to control MicroPython boards over a serial connection.
Using ampy you can manipulate files on the board's internal filesystem and
even run scripts.
Options:
-p, --port PORT Name of serial port for connected board. Can optionally
specify with AMPY_PORT environemnt variable. [required]
-b, --baud BAUD Baud rate for the serial connection (default 115200). Can
optionally specify with AMPY_BAUD environment variable.
--version Show the version and exit.
--help Show this message and exit.
Commands:
get Retrieve a file from the board.
ls List contents of a directory on the board.
mkdir Create a directory on the board.
put Put a file or folder and its contents on the...
reset Perform soft reset/reboot of the board.
rm Remove a file from the board.
rmdir Forcefully remove a folder and all its...
run Run a script and print its output.