From e8ee66d1c81e4623a64dc46542322c8d1ccb823c Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Sun, 28 Apr 2019 17:09:47 +0200 Subject: [PATCH] Use --specs=nano.specs to enable newlib-nano Saves 1.6KiB flash. Signed-off-by: Jakub Sztandera License: MIT --- workspace/TS100/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workspace/TS100/Makefile b/workspace/TS100/Makefile index 1a9030a5..0a56e560 100644 --- a/workspace/TS100/Makefile +++ b/workspace/TS100/Makefile @@ -76,7 +76,8 @@ LINKER_FLAGS=-Wl,--gc-sections \ -mcpu=cortex-m3 \ -mthumb \ -mfloat-abi=soft \ - -lm -Os -flto -Wl,--undefined=vTaskSwitchContext + -lm -Os -flto -Wl,--undefined=vTaskSwitchContext \ + --specs=nano.specs # compiler flags --------------------------------------------------------------- CPUFLAGS=-D GCC_ARMCM3 \