Closed hpeyerl closed 9 years ago
Supports ';' in the following ways:
arg;arg arg; arg arg ;arg arg ; arg
e.g.:
frankenstein > gpio in 0;gpio in 0 GP0==1
GP0==1
frankenstein > gpio in 0 ; gpio in 0 GP0==1
frankenstein > gpio in 0; gpio in 0 GP0==1
frankenstein > gpio in 0 ;gpio in 0 GP0==1
Also adds support for executing $bootcmd if it is set, a'la u-boot:
=== Press enter to activate this console === Running bootcmd: i2c init 5 2; i2c scan
frankenstein > i2c init 5 2; i2c scan Init i2c bus on GPIO5:GPIO2 ok
Enumeration i2c bus...
Found device on 0x00. Unknown device (0). Found device on 0x80. SHT21? HTU21? SI7020?
Supports ';' in the following ways:
arg;arg arg; arg arg ;arg arg ; arg
e.g.:
frankenstein > gpio in 0;gpio in 0 GP0==1
GP0==1
frankenstein > gpio in 0 ; gpio in 0 GP0==1
GP0==1
frankenstein > gpio in 0; gpio in 0 GP0==1
GP0==1
frankenstein > gpio in 0 ;gpio in 0 GP0==1
GP0==1
frankenstein > gpio in 0 ; gpio in 0 GP0==1
GP0==1
Also adds support for executing $bootcmd if it is set, a'la u-boot:
=== Press enter to activate this console === Running bootcmd: i2c init 5 2; i2c scan
frankenstein > i2c init 5 2; i2c scan Init i2c bus on GPIO5:GPIO2 ok
Enumeration i2c bus...
Found device on 0x00. Unknown device (0). Found device on 0x80. SHT21? HTU21? SI7020?