diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-04 18:42:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-04 18:42:31 +0200 |
commit | 4fed6f532cb9c990e0a30c3e541f63b3a39383ab (patch) | |
tree | 86f8b61e64df7b0387a24859133b2ca13489b41c /robot/makefile | |
parent | 595763efb64ee861f3ccf458ff35992b94f2fa3a (diff) |
slow down motors when disconnected
Diffstat (limited to 'robot/makefile')
-rw-r--r-- | robot/makefile | 2 |
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) |