Add console_external target
This commit is contained in:
parent
6cbc7b3ea1
commit
606421abd1
@ -45,10 +45,14 @@ include $(SCRATCH_DIR)/scratch.mk
|
||||
CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
console:
|
||||
console_internal:
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool console
|
||||
|
||||
console_external:
|
||||
sleep 1 && echo C | sudo tee /dev/ttyACM* &
|
||||
sudo tio -b 1000000 -m INLCRNL /dev/ttyACM*
|
||||
|
||||
flash_internal: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool flash $<
|
||||
|
@ -42,10 +42,14 @@ include $(SCRATCH_DIR)/scratch.mk
|
||||
CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
console:
|
||||
console_internal:
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool console
|
||||
|
||||
console_external:
|
||||
sleep 1 && echo C | sudo tee /dev/ttyACM* &
|
||||
sudo tio -b 1000000 -m INLCRNL /dev/ttyACM*
|
||||
|
||||
flash_internal: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool flash $<
|
||||
|
@ -45,10 +45,14 @@ include $(SCRATCH_DIR)/scratch.mk
|
||||
CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
console:
|
||||
console_internal:
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool console
|
||||
|
||||
console_external:
|
||||
sleep 1 && echo C | sudo tee /dev/ttyACM* &
|
||||
sudo tio -b 1000000 -m INLCRNL /dev/ttyACM*
|
||||
|
||||
flash_internal: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path tool/Cargo.toml --release
|
||||
sudo tool/target/release/system76_ectool flash $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user