Makefile: Add 'make shell' target

The 'make shell' target loads fernly onto the board, then opens an
interactive shell with it.

Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
Sean Cross 2015-02-05 16:03:50 +08:00
parent d4283bc9ce
commit 16ffca7170

View file

@ -78,3 +78,7 @@ $(HEADER_BUILD):
test:
novena-usb-hub -d u1 ; sleep 1; novena-usb-hub -e u1 ; sleep 2
$(BUILD)/fernly-usb-loader /dev/fernvale $(BUILD)/usb-loader.bin $(BUILD)/firmware.bin
shell:
novena-usb-hub -d u1 ; sleep 1; novena-usb-hub -e u1 ; sleep 2
$(BUILD)/fernly-usb-loader -s /dev/fernvale $(BUILD)/usb-loader.bin $(BUILD)/firmware.bin