Kconfig.projbuild 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. menu "Example Configuration"
  2. config EXAMPLE_LCD_I80_COLOR_IN_PSRAM
  3. bool "Allocate color data from PSRAM"
  4. depends on IDF_TARGET_ESP32S3
  5. default y
  6. help
  7. Enable this option if you wish to allocate the color buffer used by LVGL from PSRAM.
  8. Unmatched PSRAM band width with LCD requirement can lead to blurred image display.
  9. choice EXAMPLE_LCD_I80_CONTROLLER_MODEL
  10. prompt "i80 LCD controller model"
  11. default EXAMPLE_LCD_I80_CONTROLLER_ST7789
  12. help
  13. Select LCD controller model
  14. config EXAMPLE_LCD_I80_CONTROLLER_ST7789
  15. bool "ST7789"
  16. config EXAMPLE_LCD_I80_CONTROLLER_NT35510
  17. bool "NT35510"
  18. config EXAMPLE_LCD_I80_CONTROLLER_ILI9341
  19. bool "ILI9341"
  20. endchoice
  21. if EXAMPLE_LCD_I80_CONTROLLER_NT35510
  22. choice EXAMPLE_LCD_NT35510_DATA_WIDTH
  23. prompt "NT35510 Data Width"
  24. default EXAMPLE_LCD_NT35510_DATA_WIDTH_8
  25. help
  26. Select NT35510 Data Width (8 or 16), a.k.a, the number of data lines.
  27. config EXAMPLE_LCD_NT35510_DATA_WIDTH_8
  28. bool "8"
  29. config EXAMPLE_LCD_NT35510_DATA_WIDTH_16
  30. bool "16"
  31. endchoice
  32. endif
  33. config EXAMPLE_LCD_I80_BUS_WIDTH
  34. int
  35. default 16 if EXAMPLE_LCD_NT35510_DATA_WIDTH_16
  36. default 8
  37. config EXAMPLE_LCD_TOUCH_ENABLED
  38. bool "Enable LCD touch"
  39. default n
  40. help
  41. Enable this option if you wish to use display touch. You can select from three touch controllers.
  42. choice EXAMPLE_LCD_TOUCH_CONTROLLER
  43. prompt "LCD touch controller model"
  44. depends on EXAMPLE_LCD_TOUCH_ENABLED
  45. default EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
  46. help
  47. Select LCD touch controller model
  48. config EXAMPLE_LCD_TOUCH_CONTROLLER_GT911
  49. bool "GT911"
  50. config EXAMPLE_LCD_TOUCH_CONTROLLER_TT21100
  51. bool "TT21100"
  52. config EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
  53. bool "FT5X06"
  54. endchoice
  55. choice EXAMPLE_LCD_IMAGE_SOURCE
  56. prompt "LCD image source from"
  57. default EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY
  58. help
  59. Select LCD image source
  60. config EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM
  61. bool "File system"
  62. config EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY
  63. bool "Embedded binary"
  64. endchoice
  65. endmenu