summaryrefslogtreecommitdiffstats
path: root/platforms/chibios
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-07-07 09:27:50 +0200
committerGitHub <noreply@github.com>2022-07-07 09:27:50 +0200
commitd9bb189e25f14578ca74d6a3aa9f9a467f6f6595 (patch)
tree477e632a31b6d5eddb5912da72bb9541eaaa1302 /platforms/chibios
parent8f086faf8ae919997b42c9842cac10b144bc62b4 (diff)
[Core] Update mpaland/printf to eyalroz/printf fork (#16163)
mpaland printf implementation was abandoned in ~2019 and the fork by eyalroz is now regarded to be the goto replacement of it. So this commit incoporates the changes needed to use this fork in QMK. Note that pointer ptrdiff_t is always supported since commit 51c90f93a97fdaef895783ecbe24569be0db7cb8
Diffstat (limited to 'platforms/chibios')
-rw-r--r--platforms/chibios/platform.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk
index 63cc1a4b33..b2a8ec89e1 100644
--- a/platforms/chibios/platform.mk
+++ b/platforms/chibios/platform.mk
@@ -349,7 +349,8 @@ SHARED_CFLAGS = -fomit-frame-pointer \
-ffunction-sections \
-fdata-sections \
-fno-common \
- -fshort-wchar
+ -fshort-wchar \
+ -fno-builtin-printf
LDSCRIPT_PATH := $(shell dirname "$(LDSCRIPT)")