aboutsummaryrefslogtreecommitdiff
path: root/robot/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-18 11:18:04 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-18 11:18:04 +0200
commit3f4b1c7284304d8c4ae2e4dd17359a2b4c1c573c (patch)
tree41410bbbdd7fc33ce63ac9873356846eb525dbe7 /robot/makefile
parent837acf351ae96e2392efde175a61fd33e0774961 (diff)
[WIP] serial communication (broken w/ segfault)
Diffstat (limited to 'robot/makefile')
-rw-r--r--robot/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/makefile b/robot/makefile
index ce57090..53010dd 100644
--- a/robot/makefile
+++ b/robot/makefile
@@ -14,7 +14,7 @@ SOURCES := $(filter-out sim.c, $(wildcard *.c))
HEADERS := $(filter-out sim.h, $(wildcard *.h))
# simulation
-# SIM = true
+SIM = true
CFLAGS += $(if $(SIM), -DW2_SIM, -mcall-prologues -mmcu=$(MCU))
LDFLAGS += $(if $(SIM), , -lpololu_$(DEVICE))
PREFIX := $(if $(SIM), , avr-)