summaryrefslogtreecommitdiff
path: root/nuttx/libc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/Kconfig')
-rw-r--r--nuttx/libc/Kconfig19
1 files changed, 17 insertions, 2 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig
index 7e8e81f5e..9aedf7b85 100644
--- a/nuttx/libc/Kconfig
+++ b/nuttx/libc/Kconfig
@@ -281,15 +281,30 @@ if LIBC_LOCALTIME
config LIBC_TZ_MAX_TIMES
int "Maximum number of times in timezone"
- default 8
+ default 370
+ ---help---
+ Timezone files with more than this number of times will not be usedi
+ (tmecnt).
+
+ Warning: Some files in IANA TZ database include many more times than
+ this. The current posixrules file, for example, has timecnt = 236.
+ The value of TX_MAX_ITMES in the tzfile.h header file on my Linux
+ system is 370. You may want to reduce this value for a smaller
+ footprint.
config LIBC_TZ_MAX_TYPES
int "Maximum number of TZ types"
- default 8
+ default 20
+ ---help---
+ Maximum number of local time types. You may want to reduce this value
+ for a smaller footprint.
config LIBC_TZDIR
string "zoneinfo directory path"
default "/etc/zoneinfo"
+ ---help---
+ This is the full path to the location where the TZ database is expected
+ to be found.
endif