aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2020-12-13 21:11:50 +1300
committerDavid Phillips <david@yeah.nah.nz>2020-12-13 21:12:25 +1300
commit5eaf06d25c23a33a4e921161e9f0786a88e2948f (patch)
treeceb6629c0ec6af77b0c12c57c2025ceabcbf7c45 /Makefile
parentf8be5f4eeea8364a0df8ef878d06a7ff8814d405 (diff)
downloadaltimeter-5eaf06d25c23a33a4e921161e9f0786a88e2948f.tar.xz
Set a 2 second watchdog timer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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})