lv_conf.h 980 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-2-17 Wayne First version
  9. */
  10. #ifndef LV_CONF_H
  11. #define LV_CONF_H
  12. #include "rtconfig.h"
  13. #define LV_COLOR_DEPTH BSP_LCD_BPP
  14. #define LV_HOR_RES_MAX BSP_LCD_WIDTH
  15. #define LV_VER_RES_MAX BSP_LCD_HEIGHT
  16. #define LV_FONT_MONTSERRAT_12 1
  17. #define LV_FONT_MONTSERRAT_16 1
  18. #define LV_USE_PERF_MONITOR 1
  19. //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
  20. //#define LV_USE_DEMO_RTT_MUSIC 1
  21. #if LV_USE_DEMO_RTT_MUSIC
  22. #define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
  23. #define LV_USE_DEMO_MUSIC 1
  24. #define LV_DEMO_MUSIC_AUTO_PLAY 1
  25. #endif
  26. /* Please comment LV_USE_DEMO_RTT_MUSIC declaration before un-comment below */
  27. #define LV_USE_DEMO_WIDGETS 1
  28. //#define LV_USE_DEMO_BENCHMARK 1
  29. #endif