From 98bd6a25af85f13e422406e98341016ef0d375e8 Mon Sep 17 00:00:00 2001 From: Justin Moon Date: Thu, 14 May 2020 21:39:14 -0500 Subject: [PATCH 1/2] Add README to 'demo' example --- examples/demo/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/demo/README.md diff --git a/examples/demo/README.md b/examples/demo/README.md new file mode 100644 index 0000000..0ce3e64 --- /dev/null +++ b/examples/demo/README.md @@ -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 +``` -- 2.34.1 From aadd6c99a0916403e22ecbc6a1654b7103bc6c17 Mon Sep 17 00:00:00 2001 From: Justin Moon Date: Thu, 14 May 2020 21:42:21 -0500 Subject: [PATCH 2/2] Explain that demo runs in simulator --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7ac4dab..e8b7c43 100644 --- a/README.md +++ b/README.md @@ -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) -- 2.34.1