Port scratch changes to IT8587 platforms

This commit is contained in:
Jeremy Soller
2020-02-05 11:31:15 -07:00
parent a013ca80f5
commit 9350ac71f1
14 changed files with 46 additions and 282 deletions

View File

@@ -19,6 +19,11 @@ CFLAGS+=-DI2C_DEBUGGER=0x76
# Set battery I2C bus
CFLAGS+=-DI2C_SMBUS=I2C_0
# Set scratch ROM parameters
SCRATCH_OFFSET=1024
SCRATCH_SIZE=1024
CFLAGS+=-DSCRATCH_OFFSET=$(SCRATCH_OFFSET) -DSCRATCH_SIZE=$(SCRATCH_SIZE)
# Add scratch ROM source
SCRATCH_DIR=$(BOARD_DIR)/scratch
SCRATCH_SRC=$(wildcard $(SCRATCH_DIR)/*.c)