mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 12:49:00 +00:00
This adds 3 configuration options for the lib_strftime, which can be used to save flash memory when all the formatters are not needed by an embedded application. There is always a minimal set of formatters supported: "%a, %b/%h, %d, %H, %m, %M, %S, %Y, %%". To add on top of that one can specify: - LIBC_STRFTIME_C_STANDARD_FORMATS : All ISO-C conversion specifiers - LIBC_STRFTIME_POSIX_FORMATS : Additional posix formats - LIBC_STRFTIME_NONSTANDARD_FORMATS : Additional GNU nonstandard formats All of these are enabled by default unless building for CONFIG_DEFAULT_SMALL. Disabling these options can save over 3KB of flash on an 32-bit ARM system, when all the format specifiers are not needed. Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lib_asctime.c | ||
| lib_asctimer.c | ||
| lib_calendar2utc.c | ||
| lib_ctime.c | ||
| lib_ctimer.c | ||
| lib_dayofweek.c | ||
| lib_daysbeforemonth.c | ||
| lib_difftime.c | ||
| lib_gethrtime.c | ||
| lib_gettimeofday.c | ||
| lib_gmtime.c | ||
| lib_gmtimer.c | ||
| lib_isleapyear.c | ||
| lib_localtime.c | ||
| lib_nanosleep.c | ||
| lib_settimeofday.c | ||
| lib_strftime.c | ||
| lib_strptime.c | ||
| lib_time.c | ||
| lib_timegm.c | ||
| lib_timespec_get.c | ||
| Make.defs | ||