lv_demo.c 675 B

1234567891011121314151617181920212223242526272829303132
  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-6-1 Wayne First version
  9. */
  10. #include <lvgl.h>
  11. void lv_user_gui_init(void)
  12. {
  13. /* display demo; you may replace with your LVGL application at here and disable related definitions. */
  14. #if LV_USE_DEMO_BENCHMARK
  15. extern void lv_demo_benchmark(void);
  16. lv_demo_benchmark();
  17. #endif
  18. #if LV_USE_DEMO_WIDGETS
  19. extern void lv_demo_widgets(void);
  20. lv_demo_widgets();
  21. #endif
  22. #if LV_USE_DEMO_MUSIC || LV_USE_DEMO_RTT_MUSIC
  23. extern void lv_demo_music(void);
  24. lv_demo_music();
  25. #endif
  26. }