资源下载:
lv_sim_visual_studio_sdl(lv_port_win_visual_studio) 仓库需要依赖于:lvgl、lv_drivers、freetype。
(1) https://docs.microsoft.com/zh-cn/visualstudio/releases/2019/compatibility
(2)lv_port_win_visual_studio-master.zip
(3)freetype-946e1353eaa34872d0b138a13820fc03a782c545.zip
(4)lv_drivers-1bd4368e71df5cafd68d1ad0a37ce0f92b8f6b88.zip
(5)lvgl-9fcefe5a49a024054a3cee08d273b8fe5cf8840e.zip
链接:
https://github.com/lvgl/lv_port_win_visual_studio/tree/master/LVGL.Simulator
PC 模拟器的好处一方面是我们没有实际硬件的时候也可以学习lvgl,另一方面就是我们在实际设计GUI界面的时候可以大大减少烧录代码地次数。我们可以先在PC模拟器上设计好,然后再把代码移到嵌入式工程里,编译、烧录到板子里。