zuku / cusi

Command line tools for M5Stack MicroPython system
MIT License
1 stars 0 forks source link

Command not found on MacBook Air M1 #18

Closed jachen closed 1 year ago

jachen commented 1 year ago

Very promising script. But in my case the process completed and no chance to get cusi running. I have a stickC plus connected at /dev/tty.usbserial-45525442E6.

But: $ cusi /dev/tty.usbserial-45525442E6 gives -> zsh: command not found: cusi

Any ideas?

zuku commented 1 year ago

@jachen If you don't put the command in a directory listed in $PATH, type ./cusi instead of cusi.

% cd darwin_arm64
% ls
cusi
% cusi
zsh: command not found: cusi
% ./cusi
cusi is command line tools for M5Stack MicroPython system.

Usage: cusi [OPTION] [PORT]

  -h    display help
  -l    list serial ports
  -v    display version
jachen commented 1 year ago

So kind, Thanks a lot. I realize that I am missing some Basics. Have a good day!