Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. menuconfig FSUTILS_INIH
  6. bool "inih ini file parser"
  7. default n
  8. ---help---
  9. inih (INI Not Invented Here) is a simple .INI file parser written in C.
  10. https://github.com/benhoyt/inih
  11. Library is licensed under the New BSD license. See LICENSE.txt file in
  12. the downloaded code for license details
  13. if FSUTILS_INIH
  14. config INIH_MULTI_LINE_ENTRIES
  15. bool "Enable multiline entries"
  16. default n
  17. ---help---
  18. This makes inih to support multi-line entries in the style of Python's
  19. ConfigParser.
  20. config INIH_USE_MALLOC
  21. bool "Enable use of malloc()"
  22. default n
  23. ---help---
  24. If you enable this, inih will be using malloc() and realloc() to
  25. allocate needed memory for line-by-line file parsing.
  26. If you disable this, inih will be using only stack allocated memory
  27. for parsing file.
  28. if INIH_USE_MALLOC
  29. config INIH_INITIAL_ALLOC
  30. int "Initial allocation size"
  31. default 128
  32. ---help---
  33. inih will allocate this amount of memory and will double it when
  34. line is bigger than currently allocated memory.
  35. endif # INIH_USE_MALLOC
  36. config INIH_MAX_LINE
  37. int "Maximum line size"
  38. default 80
  39. range 4 4096
  40. ---help---
  41. Maximum size of a single line. It doesn't matter if you have malloc()
  42. enabled or not, you can't exceed this value.
  43. endif # FSUTILS_INIH