This repository contains a PlatformIO project to test LittelvGL on your PC.
The SDL library need to installed to run the project. You will find a step-by-step GUI about the installation here (It's super easy on Linux but sometimes tricky on Windows and OSX.)
I assume that you already have a working PlatformIO environment with Visual Studio Code.
- Clone this repo with
git clone https://github.com/littlevgl/pc_simulator_sdl_platformio.git
anywhere you want or download it as zip from GitHub. - In Visual Studio Code click File/Add folder to workspace and browse the lv_pio_sdl folder in the cloned or downloaded project
- Click the pipe icon on the left bottom corner to build the project.
- Run the compiled file from the terminal of Visual Studio Code:
./.pioenvs/native/program