Kconfig 1.2 KB

123456789101112131415161718192021222324252627282930
  1. menu "C/C++ and POSIX layer"
  2. config RT_USING_INTERNAL_LIBC_ONLY
  3. bool "Only use tool chain internal libc"
  4. default n
  5. help
  6. This option is for RT-Thread Nano version.
  7. If select this option, it will not compile components/libc
  8. folder and only use tool chain internal libc. Normally, the
  9. tool chain internal is only cover ISO standard (e.g. armcc),
  10. but some tool chains' internal libc will cover more than
  11. ISO standard (e.g. newlib). However, no matter the cover level
  12. it is, the rt-thread libc leveling layer will not be involved
  13. at all if select this option.
  14. config RT_USING_EXTERNAL_LIBC
  15. depends on !RT_USING_INTERNAL_LIBC_ONLY
  16. bool
  17. help
  18. This is for external libc(e.g. mlib),
  19. and NOT for newlib or picolibc which are inherent in the toolchains.
  20. Usually, the external libc should be a software package and select
  21. RT_USING_EXTERNAL_LIBC in software package's Kconfig
  22. This option is not available for users to select.
  23. source "$RTT_DIR/components/libc/compilers/common/Kconfig"
  24. source "$RTT_DIR/components/libc/posix/Kconfig"
  25. source "$RTT_DIR/components/libc/cplusplus/Kconfig"
  26. endmenu