-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Update mpaland/printf to eyalroz/printf fork
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
- Loading branch information
Showing
8 changed files
with
61 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule printf
updated
20 files
+47 −0 | .github/workflows/build_and_test.yml | |
+99 −0 | .gitignore | |
+0 −63 | .travis.yml | |
+174 −0 | CMakeLists.txt | |
+1 −0 | LICENSE | |
+0 −271 | Makefile | |
+275 −212 | README.md | |
+0 −2 | codecov.yml | |
+0 −914 | printf.c | |
+0 −117 | printf.h | |
+19 −0 | printf_config.h.in | |
+1,421 −0 | src/printf/printf.c | |
+206 −0 | src/printf/printf.h | |
+112 −0 | test/CMakeLists.txt | |
+52 −0 | test/aliasing.c | |
+608 −0 | test/autotest.cpp | |
+4,511 −1,508 | test/catch.hpp | |
+653 −0 | test/getopt.h | |
+427 −1,513 | test/test_suite.cpp | |
+1,063 −0 | test/test_suite_main_testcases.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
PRINTF_PATH = $(LIB_PATH)/printf | ||
PRINTF_PATH = $(LIB_PATH)/printf/src | ||
|
||
VPATH += $(PRINTF_PATH) | ||
SRC += $(PRINTF_PATH)/printf.c | ||
VPATH += $(PRINTF_PATH) $(PRINTF_PATH)/printf | ||
SRC += printf.c | ||
QUANTUM_SRC +=$(QUANTUM_DIR)/logging/print.c | ||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_FLOAT | ||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_EXPONENTIAL | ||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_LONG_LONG | ||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_PTRDIFF_T | ||
|
||
OPT_DEFS += -DPRINTF_SUPPORT_DECIMAL_SPECIFIERS=0 | ||
OPT_DEFS += -DPRINTF_SUPPORT_EXPONENTIAL_SPECIFIERS=0 | ||
OPT_DEFS += -DPRINTF_SUPPORT_LONG_LONG=0 | ||
OPT_DEFS += -DPRINTF_SUPPORT_WRITEBACK_SPECIFIER=0 | ||
OPT_DEFS += -DSUPPORT_MSVC_STYLE_INTEGER_SPECIFIERS=0 | ||
OPT_DEFS += -DPRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1 |