Kconfig 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. config BSP_USING_SPI1
  18. bool "Enable SPI1 (GPIO0/1)"
  19. select RT_USING_SPI
  20. default n
  21. menuconfig BSP_USING_LCD
  22. bool "Enable LCD on SPI0"
  23. default n
  24. if BSP_USING_LCD
  25. config BSP_LCD_CS_PIN
  26. int "CS pin number of 8080 interface"
  27. default 6
  28. config BSP_LCD_WR_PIN
  29. int "DC pin number of 8080 interface"
  30. default 7
  31. config BSP_LCD_DC_PIN
  32. int "DC pin number of 8080 interface"
  33. default 8
  34. config BSP_LCD_X_MAX
  35. int "LCD Height"
  36. default 240
  37. config BSP_LCD_Y_MAX
  38. int "LCD Width"
  39. default 320
  40. endif
  41. menuconfig BSP_USING_CAMERA
  42. bool "Enable Camera"
  43. default n
  44. if BSP_USING_CAMERA
  45. config BSP_CAMERA_SCCB_SDA_PIN
  46. int "SCCB SDA pin number for camera"
  47. default 9
  48. config BSP_CAMERA_SCCB_SCLK_PIN
  49. int "SCCB SCLK pin number for camera"
  50. default 10
  51. config BSP_CAMERA_CMOS_RST_PIN
  52. int "CMOS RST pin number for camera"
  53. default 11
  54. config BSP_CAMERA_CMOS_VSYNC_PIN
  55. int "CMOS VSYNC pin number for camera"
  56. default 12
  57. config BSP_CAMERA_CMOS_PWDN_PIN
  58. int "CMOS PWDN pin number for camera"
  59. default 13
  60. config BSP_CAMERA_CMOS_XCLK_PIN
  61. int "CMOS XCLK pin number for camera"
  62. default 14
  63. config BSP_CAMERA_CMOS_PCLK_PIN
  64. int "CMOS PCLK pin number for camera"
  65. default 15
  66. endif