From 4f190c010e1a446b27936e14b62868825ff175d8 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Fri, 10 Aug 2018 00:34:17 +0200 Subject: [PATCH] Update README.md. --- README.md | 4 +++- README_cz.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53eda62c3..cdc8f06d9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,9 @@ _note: select this item for any variant of board used in printers `'Prusa i3 MKx _(after installation, the item is labeled as `"INSTALLED"` and can then be used for target board selection)_ 3. modify platform.txt to enable float printf support: -add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" + +add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections" + example: `"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"` diff --git a/README_cz.md b/README_cz.md index 24df12fa4..80216325e 100644 --- a/README_cz.md +++ b/README_cz.md @@ -26,7 +26,9 @@ _pozn.: tuto položku zvolte pro všechny varianty desek použitých v tiskárn _(po provedení instalace je položka označena poznámkou `"INSTALLED"` a lze ji následně použít při výběru cílové desky)_ 3. modify platform.txt to enable float printf support: -add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" + +add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections" + example: `"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"`