Browse Source

Update README.md.

Marek Bel 5 years ago
parent
commit
4f190c010e
2 changed files with 6 additions and 2 deletions
  1. 3 1
      README.md
  2. 3 1
      README_cz.md

+ 3 - 1
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"`
 

+ 3 - 1
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"`