lv_conf.h 745 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-01-28 Rudy Lo The first version
  9. */
  10. #ifndef LV_CONF_H
  11. #define LV_CONF_H
  12. #include <rtconfig.h>
  13. #define LCD_W 480
  14. #define LCD_H 320
  15. #define LV_COLOR_DEPTH 32
  16. #define LV_USE_PERF_MONITOR 1
  17. #define LV_HOR_RES_MAX LCD_W
  18. #define LV_VER_RES_MAX LCD_H
  19. #ifdef PKG_USING_LV_MUSIC_DEMO
  20. /* music player demo */
  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 /* PKG_USING_LV_MUSIC_DEMO */
  27. #endif