Use ISP example to flash
This commit is contained in:
parent
31550fa3c6
commit
bfc6b10aa7
@ -28,8 +28,8 @@ CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
flash: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
||||
sudo ecflash/target/release/examples/flash $<
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
sudo ecflash/target/release/examples/isp --internal $<
|
||||
|
||||
isp: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
|
@ -28,8 +28,8 @@ CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
flash: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
||||
sudo ecflash/target/release/examples/flash $<
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
sudo ecflash/target/release/examples/isp --internal $<
|
||||
|
||||
isp: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
|
@ -28,8 +28,8 @@ CFLAGS+=-I$(BUILD)/include
|
||||
INCLUDE+=$(BUILD)/include/scratch.h
|
||||
|
||||
flash: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
||||
sudo ecflash/target/release/examples/flash $<
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
sudo ecflash/target/release/examples/isp --internal $<
|
||||
|
||||
isp: $(BUILD)/ec.rom
|
||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||
|
Loading…
x
Reference in New Issue
Block a user