Kconfig 854 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Hardware Drivers Config"
  2. config SOC_NRF52840
  3. bool
  4. config SOC_NRF52840
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "Onboard Peripheral Drivers"
  9. config BSP_USING_JLINK_TO_USART
  10. bool "Enable JLINK TO USART (uart0)"
  11. select BSP_USING_UART
  12. select BSP_USING_UART0
  13. default y
  14. endmenu
  15. menu "On-chip Peripheral Drivers"
  16. config BSP_USING_GPIO
  17. bool "Enable GPIO"
  18. select RT_USING_PIN
  19. default y
  20. menuconfig BSP_USING_UART
  21. bool "Enable UART"
  22. default y
  23. select RT_USING_SERIAL
  24. if BSP_USING_UART
  25. config BSP_USING_UART0
  26. bool "Enable UART0"
  27. default y
  28. config BSP_USING_UART1
  29. bool "Enable UART1"
  30. default n
  31. endif
  32. endmenu
  33. endmenu