lv_conf.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. * 2021-10-18 Meco Man First version
  9. */
  10. #ifndef LV_CONF_H
  11. #define LV_CONF_H
  12. #include <rtconfig.h>
  13. #define LV_COLOR_DEPTH 16
  14. #define MY_DISP_HOR_RES 240
  15. #define MY_DISP_VER_RES 240
  16. /* music player demo */
  17. #ifdef PKG_USING_LV_MUSIC_DEMO
  18. #define LV_USE_DEMO_MUSIC 1
  19. #define LV_HOR_RES_MAX MY_DISP_HOR_RES
  20. #define LV_VER_RES_MAX MY_DISP_VER_RES
  21. #define LV_USE_DEMO_RTT_MUSIC 1
  22. #define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
  23. #define LV_FONT_MONTSERRAT_12 1
  24. #define LV_FONT_MONTSERRAT_16 1
  25. #define LV_COLOR_SCREEN_TRANSP 1
  26. #endif
  27. #define LV_USE_SYSMON 1
  28. #define LV_USE_PERF_MONITOR 1
  29. #define LV_USE_DEMO_WIDGETS 1
  30. #define LV_FONT_MONTSERRAT_20 1
  31. #define LV_FONT_MONTSERRAT_24 1
  32. #define LV_FONT_MONTSERRAT_26 1
  33. #define LV_USE_DEMO_BENCHMARK 1
  34. #endif