diff --git a/src/arch/avr/arch.mk b/src/arch/avr/arch.mk index 8670e1b..248f3fe 100644 --- a/src/arch/avr/arch.mk +++ b/src/arch/avr/arch.mk @@ -1,5 +1,5 @@ CC=avr-gcc -mmcu=$(EC) -CFLAGS+=-Os -fstack-usage -Wall -Wl,--gc-sections -Wl,-u,vfprintf -lprintf_flt +CFLAGS+=-Os -fstack-usage -Wall -Werror -Wl,--gc-sections -Wl,-u,vfprintf -lprintf_flt OBJ=$(patsubst src/%.c,$(BUILD)/%.o,$(SRC)) # Run EC rom in simulator