Developing emWin/LittleVGL ARM & WIN32 Applications for N9H30 with Visual Studio Community 2022 and GNU ARM Embedded Toolchain on Windows 10
https://github.com/symfund/N9H30_emWin_NonOS/tree/master/SampleCode/emWin_GUIDemo/VS2022
https://github.com/symfund/N9H30_emWin_NonOS/tree/master/SampleCode/LVGL/VS2022
The GNU ARM Embedded Tools for Windows and build tool 'make' are required to build firmware for ARM target.
After installing the MSYS2, click the 'MSYS2 MSYS' in start menu, issue the following command to install the build 'make' tool.
$ pacman -Sy make
Alter vstudio/BuildCmd.bat, and ensure that both MAKE_PATH and GNU_TOOLS_ARM_EMBEDDED_PATH point to the right path.
SET MAKE_PATH="C:\msys64\usr\bin"
SET GNU_TOOLS_ARM_EMBEDDED_PATH="C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin"
To change LCD resolution on PC simulator, alter ThirdParty\emWin\Config\Win32\LCDConf.c
#define XSIZE_PHYS 375
#define YSIZE_PHYS 640
Open NuDemo.sln with Microsoft Visual Studio Community 2022, choose the configuration Debug and x86 , then click the button Local Windows Debugger to lanuch simulator.