From e9ef7f524bdefdf83fadf51d5509be9d6ce10a6a Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Sat, 29 Oct 2022 17:09:27 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 24a1cd0..e2b9e79 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # LVGL web simulator project with EEZ Studio -# How to get started +## How to get started -## Install SDL +### Install SDL Downlad [SDL](https://www.libsdl.org/) (a graphics library to ope na window and handle the mouse). On Linux: 1. Find the current version of SDL2: `apt-cache search libsdl2 (e.g. libsdl2-2.0-0)` @@ -10,7 +10,7 @@ Downlad [SDL](https://www.libsdl.org/) (a graphics library to ope na window and 3. Install SDL2 development package: `sudo apt-get install libsdl2-dev` 4. If build essentials are not installed yet: `sudo apt-get install build-essential` -## Install Emscripten SDK +### Install Emscripten SDK Download the [Emscripten SDK](https://kripken.github.io/emscripten-site/) and make sure it is in your PATH. 1. `git clone https://github.com/emscripten-core/emsdk.git` @@ -22,7 +22,7 @@ Download the [Emscripten SDK](https://kripken.github.io/emscripten-site/) and ma More info here: https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html -## Build the project +### Build the project 1. `cd {{projectDirPath}}` 2. `mkdir build` 3. `cd build` @@ -30,8 +30,8 @@ More info here: https://kripken.github.io/emscripten-site/docs/getting_started/d 5. `emmake make -j4` 6. A file called `index.html` will be generated. Run this in your browser. -### Known issue with Google Chrome browser +#### Known issue with Google Chrome browser Chrome can't open the generated html file offline. It works if you copy the files to a server. Use Firefox or other browser for offline testing. -### Known issue with Firefox +#### Known issue with Firefox Firefox can't open the generated html file offline unless you go to `about:config` and change `privacy.file_unique_origin` to `false`.