fix isp and write bash script for set up ftp server in Hi3516
This commit is contained in:
36
.justfile
Normal file
36
.justfile
Normal file
@@ -0,0 +1,36 @@
|
||||
# Alias
|
||||
alias a := all
|
||||
alias c := clean
|
||||
alias b := build
|
||||
|
||||
# Default Target
|
||||
default := "CatFeeder"
|
||||
|
||||
config:
|
||||
xmake f -v -c -y
|
||||
|
||||
reload:
|
||||
direnv reload
|
||||
|
||||
build:
|
||||
xmake b {{default}}
|
||||
|
||||
rebuild:
|
||||
xmake b -r {{default}}
|
||||
|
||||
clean:
|
||||
xmake c
|
||||
|
||||
sync:
|
||||
lftp -v -c 'open -e "mirror -R build/cross/arm/ /" ftp://root:@192.168.137.3/'
|
||||
|
||||
ftp:
|
||||
lftp ftp://root:@192.168.137.3/
|
||||
|
||||
ftp-tui:
|
||||
termscp -P "" ftp://root@192.168.137.3:21:/
|
||||
|
||||
tty:
|
||||
minicom -D /dev/ttyUSB0 -b 115200
|
||||
|
||||
all: build sync
|
||||
Reference in New Issue
Block a user