Explain that example runs in a simulator (#4)

* Add README to 'demo' example

* Explain that demo runs in simulator
This commit is contained in:
Justin Moon 2020-05-15 05:54:31 -05:00 committed by GitHub
parent 6d7d00759b
commit 0129442513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -37,3 +37,6 @@ We recommend the `lv_conf.h` file to be in your project's root directory. If so,
$ DEP_LV_CONFIG_PATH=`pwd` cargo build
```
## Running the demo
[This project contains an example that can run in a desktop simulator.](./examples/demo)

12
examples/demo/README.md Normal file
View file

@ -0,0 +1,12 @@
From base of the repository, install LVGL git submodule.
```
git submodule update --init
```
Run this demo:
```
cd examples/demo/
DEP_LV_CONFIG_PATH=./include cargo run
```