mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 17:41:55 +00:00
The gmtime() function returns a global result variable, and this variable must be placed in the `z_libc_partition` when userspace is enabled. Since gmtime() makes use of a global variable and this results in a footprint increase, this commit makes the time functions optional by introducing `CONFIG_MINIMAL_LIBC_TIME` Kconfig and making them only available when this option is enabled. Signed-off-by: Stephanos Ioannidis <root@stephanos.io> |
||
---|---|---|
.. | ||
arcmwdt | ||
armstdc | ||
minimal | ||
newlib | ||
CMakeLists.txt | ||
Kconfig |