Set limits on SRAM usage

This commit is contained in:
Jeremy Soller
2020-09-15 12:28:13 -06:00
committed by Jeremy Soller
parent 582a5e2a97
commit fd0bbc53f4
3 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-3.0-only
CC=sdcc -mmcs51 --model-large --Werror
CC=sdcc -mmcs51 --model-large --xram-size $(SRAM_SIZE) --Werror
OBJ=$(patsubst src/%.c,$(BUILD)/%.rel,$(SRC))
# Run EC rom in simulator