Kconfig.projbuild 993 B

1234567891011121314151617181920212223242526272829303132333435
  1. menu "Example Configuration"
  2. choice EXAMPLE_LCD_CONTROLLER
  3. prompt "LCD controller model"
  4. default EXAMPLE_LCD_CONTROLLER_ILI9341
  5. help
  6. Select LCD controller model
  7. config EXAMPLE_LCD_CONTROLLER_ILI9341
  8. bool "ILI9341"
  9. config EXAMPLE_LCD_CONTROLLER_GC9A01
  10. bool "GC9A01"
  11. endchoice
  12. config EXAMPLE_LCD_TOUCH_ENABLED
  13. bool "Enable LCD touch"
  14. default n
  15. help
  16. Enable this option if you wish to use display touch. You can select from touch controllers.
  17. choice EXAMPLE_LCD_TOUCH_CONTROLLER
  18. prompt "LCD touch controller model"
  19. depends on EXAMPLE_LCD_TOUCH_ENABLED
  20. default EXAMPLE_LCD_TOUCH_CONTROLLER_STMPE610
  21. help
  22. Select LCD touch controller model
  23. config EXAMPLE_LCD_TOUCH_CONTROLLER_STMPE610
  24. bool "STMPE610"
  25. help
  26. Touch controller STMPE610 connected via SPI.
  27. endchoice
  28. endmenu