Kconfig 822 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. menu "Hardware Drivers Config"
  2. config SOC_Core_V_MCU
  3. bool
  4. select SOC_RISCV_SERIES_Core_V
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "On-chip Peripheral Drivers"
  9. config BSP_USING_GPIO
  10. bool "Enable GPIO"
  11. select RT_USING_PIN
  12. default y
  13. menuconfig BSP_USING_UART
  14. bool "Enable UART"
  15. select RT_USING_SERIAL
  16. default y
  17. if BSP_USING_UART
  18. config BSP_USING_UART1
  19. bool "Enable UART1"
  20. default y
  21. endif
  22. endmenu
  23. menu "Onboard Peripheral Drivers"
  24. endmenu
  25. menu "Board extended module Drivers"
  26. endmenu
  27. menu "Onboard System Settings"
  28. config DEFAULT_SYSTEM_CLOCK
  29. int "IDEFAULT_SYSTEM_CLOCK"
  30. range 1 10000000
  31. default 5000000u
  32. endmenu
  33. endmenu