Update README.md.
This commit is contained in:
parent
4f190c010e
commit
ecb2a6e02c
@ -26,9 +26,7 @@ _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)_
|
_(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:
|
3. modify platform.txt to enable float printf support:
|
||||||
|
|
||||||
add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections"
|
add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections"
|
||||||
|
|
||||||
example:
|
example:
|
||||||
`"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"`
|
`"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"`
|
||||||
|
|
||||||
|
@ -26,9 +26,7 @@ _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)_
|
_(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:
|
3. modify platform.txt to enable float printf support:
|
||||||
|
|
||||||
add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections"
|
add "-Wl,-u,vfprintf -lprintf_flt -lm" to "compiler.c.elf.flags=" before existing flag "-Wl,--gc-sections"
|
||||||
|
|
||||||
example:
|
example:
|
||||||
`"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"`
|
`"compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user