Kconfig 845 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. menu "Hardware Drivers Config"
  2. config SOC_XUANTIE
  3. bool
  4. select RT_USING_COMPONENTS_INIT
  5. select RT_USING_USER_MAIN
  6. default y
  7. menu "On-chip Peripheral Drivers"
  8. menuconfig BSP_USING_UART
  9. bool "Enable UART"
  10. select RT_USING_SERIAL
  11. default n
  12. if BSP_USING_UART
  13. config BSP_USING_UART0
  14. bool "Enable UART0"
  15. default n
  16. endif
  17. menuconfig ENABLE_FPU
  18. bool "Enable FPU"
  19. select ARCH_RISCV_FPU
  20. default n
  21. if ENABLE_FPU
  22. choice
  23. prompt "FPU Configuration"
  24. default ARCH_RISCV_FPU_S
  25. config ARCH_RISCV_FPU_S
  26. bool "Enable [F] Extension"
  27. config ARCH_RISCV_FPU_D
  28. bool "Enable [F][D] Extension"
  29. endchoice
  30. endif
  31. endmenu
  32. endmenu