lv_demo.c 580 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-10-17 Meco Man First version
  9. * 2022-05-10 Meco Man improve rt-thread initialization process
  10. */
  11. #include "rtconfig.h"
  12. void lv_user_gui_init(void)
  13. {
  14. /* display demo; you may replace with your LVGL application at here */
  15. #ifdef BSP_USING_LVGL_VIDEO_DEMO
  16. extern void lv_video_gui_init(void);
  17. lv_video_gui_init();
  18. #else
  19. extern void lv_demo_music(void);
  20. lv_demo_music();
  21. #endif
  22. }