Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F767ZI
  3. bool
  4. select SOC_SERIES_STM32F7
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. config BSP_USING_USB_TO_USART
  8. bool "Enable USB TO USART (uart3)"
  9. select BSP_USING_UART3
  10. default y
  11. config BSP_USING_ETH
  12. bool "Enable Ethernet"
  13. select RT_USING_LWIP
  14. default n
  15. if BSP_USING_ETH
  16. choice
  17. prompt "On-board PHY chip"
  18. default PHY_USING_LAN8720A
  19. config PHY_USING_LAN8720A
  20. bool "LAN8720A"
  21. config PHY_USING_DM9161CEP
  22. bool "DM9161CEP"
  23. endchoice
  24. endif
  25. endmenu
  26. menu "On-chip Peripheral Drivers"
  27. config BSP_USING_GPIO
  28. bool "Enable GPIO"
  29. select RT_USING_PIN
  30. default y
  31. menuconfig BSP_USING_UART
  32. bool "Enable UART3"
  33. default y
  34. select RT_USING_SERIAL
  35. if BSP_USING_UART
  36. config BSP_USING_UART3
  37. bool "Enable UART3"
  38. default y
  39. config BSP_UART3_RX_USING_DMA
  40. bool "Enable UART3 RX DMA"
  41. depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
  42. default n
  43. endif
  44. source "../libraries/HAL_Drivers/Kconfig"
  45. endmenu
  46. menu "Board extended module Drivers"
  47. endmenu
  48. endmenu