Kconfig 534 B

123456789101112131415161718192021222324252627282930
  1. mainmenu "RT-Thread Configuration"
  2. config $BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config $RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../.."
  10. # you can change the RTT_ROOT default "../.." to your rtthread_root,
  11. # example : default "F:/git_repositories/rt-thread"
  12. config $PKGS_DIR
  13. string
  14. option env="PKGS_ROOT"
  15. default "packages"
  16. source "$RTT_DIR/Kconfig"
  17. source "$PKGS_DIR/Kconfig"
  18. if RT_USING_SERIAL
  19. config RT_USING_UART1
  20. bool "Using uart1"
  21. default y
  22. endif