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"`