From 5eaf06d25c23a33a4e921161e9f0786a88e2948f Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 13 Dec 2020 21:11:50 +1300 Subject: Set a 2 second watchdog timer --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 879452f..400aeff 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ QEMU_AVR ?= qemu-system-avr MCU ?= atmega32u4 SIM_MCU ?= atmega2560 CFLAGS += -DF_CPU=16000000UL -mmcu=$(MCU) -O3 -SIM_CFLAGS += -DF_CPU=16000000UL -mmcu=$(SIM_MCU) -g3 -gdwarf-2 +SIM_CFLAGS += -DF_CPU=16000000UL -mmcu=$(SIM_MCU) -g3 -gdwarf-2 -DWDT_DISABLE $(shell mkdir -p build/{real,sim}) -- cgit v1.1