KConfig 663 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. config $PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/KConfig"
  15. source "$PKGS_DIR/KConfig"
  16. menu "BSP_SPECIAL CONFIG"
  17. config RT_USING_UART0
  18. bool "Using RT_USING_UART0"
  19. default n
  20. config RT_USING_UART3
  21. bool "Using RT_USING_UART3"
  22. default y
  23. config RT_USING_UART4
  24. bool "Using RT_USING_UART4"
  25. default n
  26. config RT_USING_LED
  27. bool "Using RT_USING_LED"
  28. default y
  29. help
  30. led blink demo
  31. endmenu