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

@@ -19,7 +19,7 @@ $(BUILD)/ec.rom: $(BUILD)/ec.ihx
# Link object files into Intel Hex file
$(BUILD)/ec.ihx: $(OBJ)
@mkdir -p $(@D)
$(CC) -o $@ $^
$(CC) $(LDFLAGS) -o $@ $^
# Compile C files into object files
$(OBJ): $(BUILD)/%.rel: src/%.c $(INCLUDE)