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 May 19, 2023
1 parent 24af739 commit 7adfc74
Show file tree
Hide file tree
Showing 4 changed files with 2,536 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ Testing/Temporary/
#build files
src/nRF5_SDK_15.3.0_59ac345
src/arm-none-eabi

# 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 7adfc74

Please sign in to comment.