Kconfig 932 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. menu "BL808_M0 Hardware Drivers Config"
  2. config SOC_BL808
  3. bool
  4. select RT_USING_COMPONENTS_INIT
  5. select RT_USING_USER_MAIN
  6. select ARCH_RISCV_FPU_S
  7. default y
  8. config BSP_USING_JTAG_M0
  9. bool "Enable M0 JTAG "
  10. default n
  11. menu "On-chip Peripheral Drivers"
  12. config BSP_USING_GPIO
  13. bool "Enable GPIO"
  14. select RT_USING_PIN
  15. default y
  16. menuconfig BSP_USING_UART
  17. bool "Enable UART"
  18. default y
  19. select RT_USING_SERIAL
  20. if BSP_USING_UART
  21. config BSP_USING_UART0
  22. bool "Enable UART0"
  23. default y
  24. if BSP_USING_UART0
  25. config BSP_UART0_TXD_PIN
  26. int "uart0 TXD pin number"
  27. default 14
  28. config BSP_UART0_RXD_PIN
  29. int "uart0 RXD pin number"
  30. default 15
  31. endif
  32. endif
  33. endmenu
  34. endmenu