From 4fed6f532cb9c990e0a30c3e541f63b3a39383ab Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 4 Jun 2022 18:42:31 +0200 Subject: slow down motors when disconnected --- robot/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'robot/makefile') 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) -- cgit v1.2.3