Add filepath to platform.txt for windows users

This commit is contained in:
cimoalpacino 2019-04-21 21:40:09 +02:00 committed by Marek Bel
parent ca449ef517
commit 3274794908
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ _(after installation, the item is labeled as `"INSTALLED"` and can then be used
c. 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"
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"`
For Windows users, the file can be found at:
"C:\Users\(user)\AppData\Local\Arduino15\packages\arduino\hardware\avr\(version)"
#### 2. Source code compilation