Skip to content

Commit

Permalink
Update README for new lv_img_conv
Browse files Browse the repository at this point in the history
  • Loading branch information
FintasticMan authored Nov 19, 2023
1 parent 1f33754 commit f1fbf07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ git submodule update --init --recursive
- Compiler (g++ or clang++)
- [lv_font_conv](https://github.com/lvgl/lv_font_conv#install-the-script) (for `font.c` generation since [InfiniTime#1097](https://github.com/InfiniTimeOrg/InfiniTime/pull/1097))
- Note: requires Node.js v14.0.0 or later
- [lv_img_conv](https://github.com/lvgl/lv_img_conv) (for `resource.zip` generation when `BUILD_RESOURCES=ON`, which is the default)
- [pillow](https://python-pillow.org/) (for `resource.zip` generation when `BUILD_RESOURCES=ON`, which is the default)
- optional: `libpng`, see `-DWITH_PNG=ON` cmake setting below for more info

On Ubuntu/Debian install the following packages:
Expand All @@ -57,10 +57,13 @@ Then install the `lv_font_conv` executable to the InfiniSim source directory (wi
npm install [email protected]
```

When you want to create a `resource.zip` file then install the `lv_img_conv` executable to the InfiniSim source directory (will be installed at `node_modules/.bin/lv_img_conv`)
When you want to create a `resource.zip` file then install the `pillow` Python library to the InfiniSim source directory (will be installed in `.venv/`)

```sh
npm install [email protected] @swc/core [email protected]
python3 -m venv .venv
source .venv/bin/activate
pip install wheel
pip install pillow
```

## Configure and Build
Expand Down

0 comments on commit f1fbf07

Please sign in to comment.