|
||
---|---|---|
.. | ||
.github | ||
.vscode | ||
lv_drivers | ||
lv_examples | ||
lv_user_code | ||
lvgl | ||
sprd_image | ||
vscode | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
LittlevGL.cbp | ||
LittlevGL.cscope_file_list | ||
LittlevGL.depend | ||
LittlevGL.layout | ||
README.md | ||
licence.txt | ||
lv_conf.h | ||
lv_demo_conf.h | ||
lv_drv_conf.h | ||
lvgl_icon.bmp | ||
main.c | ||
微信图片_20231023153309.jpg |
README.md
pc_simulator_win_codeblocks
PC simulator project for LittlevGL embedded GUI Library for Windows in Codeblocks
This requires the MinGW version of CodeBlocks 20.03 or newer to be installed.
How to use this:
Tutorial for Windows
- Download and install Git
- Download CodeBlocks in latest version. It is recommended to use the version which includes MinGW, as otherwise you will have to install and configure it separately.
- Clone this repository.
- Open Command prompt (Win key + R -> cmd -> Enter) or PowerShell (Win key + R -> powershell -> Enter) (if you want different folder than C:/Users/username you have to navigate to it) and type:
git clone https://github.com/lvgl/lv_sim_codeblocks_win.git
- In that folder type:
cd lv_sim_codeblocks_win
and press Enter. Here type:git submodule update --init --recursive
and press Enter. This should download files to lvgl, lv_examples and lv_drivers folders.
- Open CodeBlocks and select Open an existing project. Navigate to the lv_sim_codeblocks_win folder and select LittlevGL.cbp.
- Click on Build and Run or press F9.
- If everything goes well, you should see your simulator running.