Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
YobeZhou committed Apr 5, 2024
1 parent ddfb9f8 commit ce04a19
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# 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.
This requires the MinGW version of **Code::blocks 20.03 or newer** to be installed.

## How to use this:

### Tutorial for Windows
1) Download and install [Git](https://git-scm.com/downloads)
2) Download [CodeBlocks](https://www.codeblocks.org/downloads/) in latest version. It is *strongly* recommended to use the version which includes MinGW, as otherwise you will have to install and configure it separately, and there have been issues reported with missing header files when a standalone MinGW installation is used.
3) Clone this repository.
4) If the version of Code::blocks <= 20.03, then MinGW needs to be [updated](https://github.com/niXman/mingw-builds-binaries/releases/tag/13.2.0-rt_v11-rev1) (version 13.2.0 has been tested).
5) Clone this repository.
- Open **Command prompt (Win key + R -> cmd -> Enter)** or **PowerShell (Win key + R -> powershell -> Enter)** or **Git bash** (if you want different folder than _C:/Users/username_ you have to navigate to it) and type: `git clone --recurse-submodules https://github.com/lvgl/lv_sim_codeblocks_win.git`
4) Open **CodeBlocks** and select **Open an existing project**. Navigate to the **lv_sim_codeblocks_win** folder and select **lvgl.cbp**.
5) Click on **Build and Run** or press **F9**.
6) If everything goes well, you should see your simulator running.
6) Open **CodeBlocks** and select **Open an existing project**. Navigate to the **lv_sim_codeblocks_win** folder and select **lvgl.cbp**.
7) Click on **Build and Run** or press **F9**.
8) If everything goes well, you should see your simulator running.

0 comments on commit ce04a19

Please sign in to comment.