Kconfig 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menu "CMake Utilities"
  2. config CU_RELINKER_ENABLE
  3. bool "Enable relinker"
  4. default n
  5. help
  6. "Enable relinker to linker some IRAM functions to Flash"
  7. if CU_RELINKER_ENABLE
  8. config CU_RELINKER_ENABLE_PRINT_ERROR_INFO_WHEN_MISSING_FUNCTION
  9. bool "Print error information when missing function"
  10. default y
  11. help
  12. "Enable this option to print error information instead of
  13. throwing exception when missing function"
  14. config CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES
  15. bool "Enable customized relinker configuration files"
  16. default n
  17. help
  18. "Enable this option to use customized relinker configuration
  19. files instead of default ones"
  20. if CU_RELINKER_ENABLE_CUSTOMIZED_CONFIGURATION_FILES
  21. config CU_RELINKER_CUSTOMIZED_CONFIGURATION_FILES_PATH
  22. string "Customized relinker configuration files path"
  23. default ""
  24. help
  25. "Customized relinker configuration files path. This path is
  26. evaluated relative to the project root directory."
  27. endif
  28. endif
  29. choice CU_DIAGNOSTICS_COLOR
  30. prompt "Color in diagnostics"
  31. default CU_DIAGNOSTICS_COLOR_ALWAYS
  32. help
  33. Use color in diagnostics. "never", "always", or "auto". If "always", GCC will output
  34. with color defined in GCC_COLORS environment variable. If "never", only output plain
  35. text. If "auto", only output with color when the standard error is a terminal and when
  36. not executing in an emacs shell.
  37. config CU_DIAGNOSTICS_COLOR_NEVER
  38. bool "never"
  39. config CU_DIAGNOSTICS_COLOR_ALWAYS
  40. bool "always"
  41. config CU_DIAGNOSTICS_COLOR_AUTO
  42. bool "auto"
  43. endchoice
  44. config CU_GCC_LTO_ENABLE
  45. bool "Enable GCC link time optimization(LTO)"
  46. default n
  47. help
  48. "Enable this option, users can enable GCC link time optimization(LTO)
  49. feature for target components or dependencies.
  50. config CU_GCC_STRING_1BYTE_ALIGN
  51. bool "GCC string 1-byte align"
  52. default n
  53. help
  54. "Enable this option, user can make string in designated components align
  55. by 1-byte instead 1-word(4-byte), this can reduce unnecessary filled data
  56. so that to reduce firmware size."
  57. endmenu