lv_gui_config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _LV_GUI_CONFIG_H_
  13. #define _LV_GUI_CONFIG_H_
  14. // @AUTO_GENERATION_NOTICE@
  15. #define LOG_TAG_LVGL OSI_MAKE_LOG_TAG('L', 'V', 'G', 'L')
  16. /**
  17. * LittlevGL GUI stack size
  18. */
  19. #define CONFIG_LV_GUI_THREAD_STACK_SIZE 4096
  20. /**
  21. * LittlevGL GUI event count
  22. */
  23. #define CONFIG_LV_GUI_THREAD_EVENT_COUNT 64
  24. /**
  25. * LittlevGL GUI screen width
  26. */
  27. #define CONFIG_LV_GUI_HOR_RES 240
  28. /**
  29. * LittlevGL GUI screen height
  30. */
  31. #define CONFIG_LV_GUI_VER_RES 320
  32. /**
  33. * Screen off timeout
  34. */
  35. #define CONFIG_LV_GUI_SCREEN_OFF_TIMEOUT 5000
  36. #endif