Skip to content

Commit

Permalink
node: Add lv_font_conv and lv_img_conv to node package
Browse files Browse the repository at this point in the history
This means that these can be installed by simply running `npm i`.
Also add node_modules to gitignore.
  • Loading branch information
FintasticMan committed Sep 14, 2023
1 parent 0aead42 commit 166b879
Show file tree
Hide file tree
Showing 4 changed files with 1,636 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ src/arm-none-eabi

# clangd
.cache/

# npm
node_modules/
5 changes: 2 additions & 3 deletions doc/buildAndProgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ To build this project, you'll need:
python -m pip install -r tools/mcuboot/requirements.txt
```
- A reasonably recent version of CMake (I use 3.16.5)
- lv_font_conv, to generate the font .c files
- see [lv_font_conv](https://github.com/lvgl/lv_font_conv#install-the-script)
- lv_font_conv and lv_img_conv, to generate the font .c files
- install npm (commonly done via the package manager, ensure node's version is at least 12)
- install lv_font_conv: `npm install lv_font_conv`
- install the modules: `npm install`
## Build steps
Expand Down
Loading

0 comments on commit 166b879

Please sign in to comment.