aboutsummaryrefslogtreecommitdiff
path: root/robot/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-04 18:42:31 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-04 18:42:31 +0200
commit4fed6f532cb9c990e0a30c3e541f63b3a39383ab (patch)
tree86f8b61e64df7b0387a24859133b2ca13489b41c /robot/makefile
parent595763efb64ee861f3ccf458ff35992b94f2fa3a (diff)
slow down motors when disconnected
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 ed700ae..5f05872 100644
--- a/robot/makefile
+++ b/robot/makefile
@@ -9,7 +9,7 @@ PORT ?= /dev/ttyACM0
# SIM = true
CFLAGS=-g -Wall $(DEVICE_SPECIFIC_CFLAGS) -Os
-LDFLAGS=-Wl,-gc-sections -Wl,-relax
+LDFLAGS=-Wl,-u,vfprintf -lprintf_flt -lm -Wl,-relax -Wl,-gc-sections
include ../shared/os.mk
all: $(if $(SIM), $(TARGET), out.hex)