Lines Matching full:picolibc
1 # Printf and Scanf in Picolibc
9 Picolibc handles this by providing multiple printf and scanf
17 The function name mapping happens in picolibc.specs file which scans
25 * Printf uses within picolibc (which are all integer-only) now share
35 picolibc.specs includes the --gc-sections linker flag. This causes
44 ## Printf and Scanf levels in Picolibc
46 There are five levels of printf support provided by Picolibc that can
49 the picolibc built-time option, `-Dformat-default`, which defaults to
59 `io-long-double` setting. The picolibc.specs stanza that matches
73 double or long double conversions. When picolibc.specs finds
89 `io-pos-args` settings. The picolibc.specs stanza that matches this
104 picolibc.specs stanza that matches this option maps __i_vfprintf to
122 `io-pos-args` or `io-percent-b`. The picolibc.specs stanza that
148 …$ arm-none-eabi-gcc -Os -march=armv7-m --specs=picolibc.specs --oslib=semihost --crt0=hosted -Wl,-…
158 …$ arm-none-eabi-gcc -DPICOLIBC_FLOAT_PRINTF_SCANF -Os -march=armv7-m --specs=picolibc.specs --osli…
168 …$ arm-none-eabi-gcc -DPICOLIBC_LONG_LONG_PRINTF_SCANF -Os -march=armv7-m --specs=picolibc.specs --…
178 …$ arm-none-eabi-gcc -DPICOLIBC_INTEGER_PRINTF_SCANF -Os -march=armv7-m --specs=picolibc.specs --os…
189 …$ arm-none-eabi-gcc -DPICOLIBC_MINIMAL_PRINTF_SCANF -Os -march=armv7-m --specs=picolibc.specs --os…
206 ## Picolibc build options for printf and scanf options
208 In addition to the application build-time options, picolibc includes a
209 number of picolibc build-time options to control the feature set (and
259 For compatibility with newlib printf and scanf functionality, picolibc
263 picolibc build options for that code:
276 code, the first step is to build picolibc with the right options. The
287 …$ arm-none-eabi-gcc -Os -march=armv7-m --specs=picolibc.specs --oslib=semihost --crt0=hosted -Wl,-…