upydev 0.3.4
Fix
-
Fix autocomplete on tab in REPL while
import
orfrom X import
in SERIAL REPL -
Command names change:
filesize
-->du
,filesys_info
-->df
fw
-->fwr
d_sync
-->dsync
sync
-->fget
-
Catching passwords too short for AP configuration
-
Refactor help info organisation for easy reading.
-
Refactor device management actions (configuration, groups...)
-
Refactor firmware actions,
-i
option to check firmware and platform match. (from firmware file name) -
tree
command in upysh2.py unix/linux like. -
drop
mpy-cross
dependency, better to build from source.
Added
- Autocomplete
shr@
,ssl@
,wssl@
andble@
commands with saved devices in UPY_G global group pytest
andpytest-setup
command in SHELL-REPLSpytest
andpytest-setup
command mode in CLI.- commands that start with
%
or not registered in SHELL-REPLS commands are forwarded to local shell (works with alias too) - Ble SHELL-REPL
ble@[device]
set
command to set current device configuration of a device saved in global groupcheck
command to see device configuration (-i
to see more info if device available)dm
command to see help about DEVICE MANAGEMENTgc
command to see help about GENERAL COMMANDSwu
command to see help about WLAN UTILS COMMANDSsd
command to see help about SD UTILS COMMANDSpro
command to see help about PROTOTYPE COMMANDSgg
to see global group-gg
flag to set -G flag to global group (-gg
==-G UPY_G
)-ggp
flag to set -GP flag to global group (-ggp
==-GP UPY_G
)%
before any command e.g.%config
display help info about that command.probe
command to test if a device/group is reachablescan
command to look for devices (serial [-sr], network [-nt] or ble [-bl])shl
/shell
, andrpl
/repl
commands works with@
or-@
and will detect device type, redirecting to the proper SHELL-REPL / REPL type.put
,get
,install
,fget
,dsync
, file operations now support indicating file/files/cwd/expression as a second argument, e.g,upydev put this_file.py
,upydev put demo_*.py
,upydev put fileone.py filetwo.py
,upydev put cwd -dir lib
...- Alias and positional args for keygen/firmware/flash actions
upydev kg/keygen rsa/wr/ssl
,upydev fwr get/list latest
,upydev flash esp32-idf4-20200122-v1.12-76-gdccace6f3.bin
,upydev flash pybv11-20200114-v1.12-63-g1c849d63a.dfu
... - Alias and positional args for
make_group, mg_group
actionsmkgroup/mkg, mggroup/mgg
, andsee
. e.gupydev see MY_GROUP
,upydev mkg MY_GROUP -devs mydevtest 192.168.1.40 mypasswd
,upydev mgg MY_GROUP -add sdev2 /dev/tty.SLAB_USBtoUART 115200
- Alias and positional args for SD actions
upydev sd enable/init/deinit/auto
- upydev pypi version checking on
h
/help
command. -gf
flag to indicate a group file operation (files are upload/download to/from a directory with the name of the device in the current working directory). It uses local group configuration file if available (unless -gg flag is indicated), otherwise it falls back to global group configuration-rf
flag fordsync
mode, to remove files or directories deleted in local dir.-to [devname]
flag now can be used with-tfkey
to transfer keys by USB/Serial-d
flag fordsync
to sync from device to host.backup
command ==dsync . -d
to make a backup of the device filesystemrsync
command ==dsync [DIR] -rf -wdl
to recursively sync (deleting files too)