Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. config BSP_USING_UART_HS
  2. bool "Enable High Speed UART"
  3. default y
  4. config BSP_USING_UART1
  5. bool "Enable UART1 (GPIO0/1)"
  6. default n
  7. config BSP_USING_UART2
  8. bool "Enable UART2 (GPIO0/1)"
  9. default n
  10. config BSP_USING_UART3
  11. bool "Enable UART3 (GPIO0/1)"
  12. default n
  13. config BSP_USING_I2C1
  14. bool "Enable I2C1 (GPIO0/1)"
  15. select RT_USING_I2C
  16. default n
  17. menuconfig BSP_USING_SPI1
  18. bool "Enable SPI1"
  19. select RT_USING_SPI
  20. default n
  21. if BSP_USING_SPI1
  22. config BSP_USING_SPI1_AS_QSPI
  23. bool
  24. default n
  25. config BSP_SPI1_CLK_PIN
  26. int "spi1 clk pin number"
  27. default 29
  28. config BSP_SPI1_D0_PIN
  29. int "spi1 d0 pin number"
  30. default 30
  31. config BSP_SPI1_D1_PIN
  32. int "spi1 d1 pin number"
  33. default 31
  34. if BSP_USING_SPI1_AS_QSPI
  35. config BSP_SPI1_D2_PIN
  36. int "spi1 d2 pin number"
  37. default 32
  38. config BSP_SPI1_D3_PIN
  39. int "spi1 d3 pin number"
  40. default 33
  41. endif
  42. menuconfig BSP_SPI1_USING_SS0
  43. bool "SPI1 Enable SS0"
  44. default n
  45. if BSP_SPI1_USING_SS0
  46. config BSP_SPI1_SS0_PIN
  47. int "spi1 ss0 pin number"
  48. default 32
  49. endif
  50. menuconfig BSP_SPI1_USING_SS1
  51. bool "SPI1 Enable SS1"
  52. default n
  53. if BSP_SPI1_USING_SS1
  54. config BSP_SPI1_SS1_PIN
  55. int "spi1 ss1 pin number"
  56. default 25
  57. endif
  58. menuconfig BSP_SPI1_USING_SS2
  59. bool "SPI1 Enable SS2"
  60. default n
  61. if BSP_SPI1_USING_SS2
  62. config BSP_SPI1_SS2_PIN
  63. int "spi1 ss2 pin number"
  64. default 26
  65. endif
  66. menuconfig BSP_SPI1_USING_SS3
  67. bool "SPI1 Enable SS3"
  68. default n
  69. if BSP_SPI1_USING_SS3
  70. config BSP_SPI1_SS3_PIN
  71. int "spi1 ss3 pin number"
  72. default 27
  73. endif
  74. endif
  75. menuconfig BSP_USING_LCD
  76. bool "Enable LCD on SPI0"
  77. default n
  78. if BSP_USING_LCD
  79. config BSP_LCD_CS_PIN
  80. int "CS pin number of 8080 interface"
  81. default 6
  82. config BSP_LCD_WR_PIN
  83. int "DC pin number of 8080 interface"
  84. default 7
  85. config BSP_LCD_DC_PIN
  86. int "DC pin number of 8080 interface"
  87. default 8
  88. config BSP_LCD_X_MAX
  89. int "LCD Height"
  90. default 240
  91. config BSP_LCD_Y_MAX
  92. int "LCD Width"
  93. default 320
  94. endif
  95. menuconfig BSP_USING_CAMERA
  96. bool "Enable Camera"
  97. default n
  98. if BSP_USING_CAMERA
  99. config BSP_CAMERA_SCCB_SDA_PIN
  100. int "SCCB SDA pin number for camera"
  101. default 9
  102. config BSP_CAMERA_SCCB_SCLK_PIN
  103. int "SCCB SCLK pin number for camera"
  104. default 10
  105. config BSP_CAMERA_CMOS_RST_PIN
  106. int "CMOS RST pin number for camera"
  107. default 11
  108. config BSP_CAMERA_CMOS_VSYNC_PIN
  109. int "CMOS VSYNC pin number for camera"
  110. default 12
  111. config BSP_CAMERA_CMOS_PWDN_PIN
  112. int "CMOS PWDN pin number for camera"
  113. default 13
  114. config BSP_CAMERA_CMOS_XCLK_PIN
  115. int "CMOS XCLK pin number for camera"
  116. default 14
  117. config BSP_CAMERA_CMOS_PCLK_PIN
  118. int "CMOS PCLK pin number for camera"
  119. default 15
  120. config BSP_CAMERA_CMOS_HREF_PIN
  121. int "CMOS HREF pin number for camera"
  122. default 17
  123. endif