flash: Enable read/write/erase access flash from firmware.

This commit is contained in:
Evan Lojewski
2020-05-17 17:19:04 -06:00
committed by Jeremy Soller
parent b4689cb3f1
commit 6f6fc652d5
7 changed files with 414 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ CFLAGS+=-I$(SYSTEM76_COMMON_DIR)/include
# Add scratch ROM
include $(SYSTEM76_COMMON_DIR)/scratch/scratch.mk
# Add scratch ROM for flash access
include $(SYSTEM76_COMMON_DIR)/flash/flash.mk
console_internal:
cargo build --manifest-path tool/Cargo.toml --release
sudo tool/target/release/system76_ectool console