Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. menu "Hardware Drivers Config"
  2. config SOC_MAX32660
  3. bool
  4. config SOC_MAX32660
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. select BSP_USING_UART
  8. select BSP_USING_UART1
  9. default y
  10. config SOC_MAXIM
  11. bool
  12. config SOC_MAXIM
  13. default y
  14. menu "On-chip Peripheral Drivers"
  15. config BSP_USING_GPIO
  16. bool "Enable GPIO"
  17. select RT_USING_PIN
  18. default y
  19. menuconfig BSP_USING_UART
  20. bool "Enable UART"
  21. default y
  22. select RT_USING_SERIAL
  23. if BSP_USING_UART
  24. config BSP_USING_UART0
  25. bool "Enable UART0"
  26. default n
  27. config BSP_UART0_RX_USING_DMA
  28. bool "Enable UART0 RX DMA"
  29. depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA
  30. default n
  31. config BSP_USING_UART1
  32. bool "Enable UART1"
  33. default y
  34. config BSP_UART1_RX_USING_DMA
  35. bool "Enable UART1 RX DMA"
  36. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  37. default n
  38. endif
  39. config BSP_USING_SPI
  40. bool "Enable SPI"
  41. select RT_USING_SPI
  42. default n
  43. if BSP_USING_SPI
  44. config BSP_USING_SPI0
  45. bool "Enable SPI0 bus [MISO P0.4;MOSI P0.5;SCL P0.6;SS P0.7]"
  46. default y
  47. config BSP_USING_SPI1
  48. bool "Enable SPI1 bus [MISO P0.0;MOSI P0.1;SCL P0.2;SS P0.3]"
  49. default n
  50. if BSP_USING_SPI1
  51. config BSP_USING_SPI1A
  52. bool "Use SPI1A. [MISO P0.10;MOSI P0.11;SCL P0.12;SS P0.13]"
  53. default n
  54. endif
  55. endif
  56. config BSP_USING_ON_CHIP_FLASH
  57. select RT_USING_FAL
  58. bool "Enable on-chip FLASH"
  59. default n
  60. config BSP_USING_I2C
  61. bool "Enable I2C"
  62. select RT_USING_I2C
  63. default n
  64. if BSP_USING_I2C
  65. config BSP_USING_I2C0
  66. bool "Enable I2C0 bus [SCL P0.8; SDA P0.9]"
  67. default y
  68. config BSP_USING_I2C1
  69. bool "Enable I2C1 bus [SCL P0.2; SDA P0.3]"
  70. default n
  71. endif
  72. config BSP_USING_ONCHIP_RTC
  73. bool "Enable RTC"
  74. select RT_USING_RTC
  75. default n
  76. endmenu
  77. endmenu