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
|
INCLUDE+=$(BUILD)/include/scratch.h
|
||||||
|
|
||||||
flash: $(BUILD)/ec.rom
|
flash: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
sudo ecflash/target/release/examples/flash $<
|
sudo ecflash/target/release/examples/isp --internal $<
|
||||||
|
|
||||||
isp: $(BUILD)/ec.rom
|
isp: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
|
@ -28,8 +28,8 @@ CFLAGS+=-I$(BUILD)/include
|
|||||||
INCLUDE+=$(BUILD)/include/scratch.h
|
INCLUDE+=$(BUILD)/include/scratch.h
|
||||||
|
|
||||||
flash: $(BUILD)/ec.rom
|
flash: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
sudo ecflash/target/release/examples/flash $<
|
sudo ecflash/target/release/examples/isp --internal $<
|
||||||
|
|
||||||
isp: $(BUILD)/ec.rom
|
isp: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
|
@ -28,8 +28,8 @@ CFLAGS+=-I$(BUILD)/include
|
|||||||
INCLUDE+=$(BUILD)/include/scratch.h
|
INCLUDE+=$(BUILD)/include/scratch.h
|
||||||
|
|
||||||
flash: $(BUILD)/ec.rom
|
flash: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example flash --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
sudo ecflash/target/release/examples/flash $<
|
sudo ecflash/target/release/examples/isp --internal $<
|
||||||
|
|
||||||
isp: $(BUILD)/ec.rom
|
isp: $(BUILD)/ec.rom
|
||||||
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user