From bfc6b10aa7376da9db3e0570a5e2adf30933ecf7 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 16 Jan 2020 15:16:22 -0700 Subject: [PATCH] Use ISP example to flash --- src/board/system76/darp5/board.mk | 4 ++-- src/board/system76/galp3-c/board.mk | 4 ++-- src/board/system76/lemp9/board.mk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/board/system76/darp5/board.mk b/src/board/system76/darp5/board.mk index 5446927..7820e8d 100644 --- a/src/board/system76/darp5/board.mk +++ b/src/board/system76/darp5/board.mk @@ -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 diff --git a/src/board/system76/galp3-c/board.mk b/src/board/system76/galp3-c/board.mk index 5446927..7820e8d 100644 --- a/src/board/system76/galp3-c/board.mk +++ b/src/board/system76/galp3-c/board.mk @@ -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 diff --git a/src/board/system76/lemp9/board.mk b/src/board/system76/lemp9/board.mk index 9e6d1e6..bb19bee 100644 --- a/src/board/system76/lemp9/board.mk +++ b/src/board/system76/lemp9/board.mk @@ -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