Use ISP example to flash

This commit is contained in:
Jeremy Soller 2020-01-16 15:16:22 -07:00
parent 31550fa3c6
commit bfc6b10aa7
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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