lxd 2ff3f6526e 删除滤网寿命设置功能 默认寿命为6个月 7 maanden geleden
..
gg_external_data 3bbc65fae8 first commit 10 maanden geleden
modules 3bbc65fae8 first commit 10 maanden geleden
Makefile 3bbc65fae8 first commit 10 maanden geleden
README.md 3bbc65fae8 first commit 10 maanden geleden
decoder.h 3bbc65fae8 first commit 10 maanden geleden
lv_conf.h 2ff3f6526e 删除滤网寿命设置功能 默认寿命为6个月 7 maanden geleden
main.c 3bbc65fae8 first commit 10 maanden geleden
simulator_icon.c 3bbc65fae8 first commit 10 maanden geleden

README.md

Requirements

  • MinGW

Usage

Install MinGW

You can download MinGW from https://osdn.net/projects/mingw/releases/

Set environment

  1. Add the path of mingw32-make to the system's path. By default, it is C:\MinGW\bin.
  2. Copy bin\SDL2.dll to C:\MinGW\lib.

Compile the project(Note: don't use git bash)

  1. Enter project direction:

    cd lvgl-simulator
    
  2. Build the target:

    mingw32-make -j8
    

    Run simulator

    mingw32-make run
    

Add your code for ui's callbacks

  1. User can edit callbacks in event_cb.c.

Work with Visual Studio Code

  1. Download and install latest version of Visual Studio Code
  2. Install extensions listed below:
    • C/C++
    • C/C++ Clang Command Adapter
    • Make
  3. Build the target In Visual Studio Code, you can open a terminal via Terminal-> New Terminal. After Openning the terminal, type make -j8 to build the target.
  4. Run simulaor Type make run to run the simualor.