Reinhold Gschweicher db0f909b46 generalize lv-font creation
In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font
generation capabilites were added. Generalize the font creation to
make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file
for `InfiniSim` and just add the new cmake file to the project and
link against the new `infinitime_fonts` target.

In the following a list of changes.

Allow non-global installed `lv_font_conv` executable installed with

```sh
npm install lv_font_conv@1.5.2
```

In CMake we search for `lv_font_conv` executable. Add the found
executable to the python script `generate.py`, to remove the need for
`lv_font_conv` to be in the path.

Search for `python3` executable, if CMake version 3.12 is available.
Otherwise use `python` as hard coded executable.

Instead of adding the generated fonts to `SOURCE_FILES` variable, create
a static library `infinitime_fonts`. Link this library to the
executables instead.

Use `add_custom_target()` together with `add_custom_command()` to
generate the font.c files once (like the original PR does).
2022-05-16 11:59:44 +03:00
2021-11-28 13:42:37 +01:00
2021-09-13 20:02:53 +02:00
2022-05-10 22:20:02 +02:00
2022-05-16 11:59:44 +03:00
2022-05-08 22:27:42 +03:00
2021-11-13 13:37:52 +02:00
2021-01-30 18:52:14 +02:00
2021-01-30 18:48:06 +02:00
2021-12-30 20:57:26 +01:00
2021-12-04 22:03:40 +02:00
2021-01-05 00:34:15 +00:00
2022-04-02 16:31:39 +02:00
2021-08-14 20:58:38 +02:00
2021-08-23 20:13:26 +00:00
2020-08-02 17:38:51 +02:00

InfiniTime

Build PineTime Firmware

InfiniTime logo

Fast open-source firmware for the PineTime smartwatch with many features, written in modern C++.

New to InfiniTime?

Companion apps

Development

InfiniSim Simulator

Use the InfiniSim Simulator to experience the InfiniTime user interface directly on your PC, to shorten the time until you get your hands on a real PineTime smartwatch. Or use it to develop new Watchfaces, new Screens, or quickly iterate on the user interface.

Contributing

Build, flash and debug

API

Architecture and technical topics

Licenses

This project is released under the GNU General Public License version 3 or, at your option, any later version.

It integrates the following projects:

Credits

Im not working alone on this project. First, many people create PR for this projects. Then, there is the whole #pinetime community : a lot of people all around the world who are hacking, searching, experimenting and programming the Pinetime. We exchange our ideas, experiments and code in the chat rooms and forums.

Here are some people I would like to highlight:

  • Atc1441 : He works on an Arduino based firmware for the Pinetime and many other smartwatches based on similar hardware. He was of great help when I was implementing support for the BMA421 motion sensor and I²C driver.
  • Koen : Hes working on a firmware based on RiotOS. He integrated similar libs as me : NimBLE, LittleVGL,… His help was invaluable too!
  • Lup Yuen Lee : He is everywhere: he works on a Rust firmware, builds a MCUBoot based bootloader for the Pinetime, designs a Flutter based companion app for smartphones and writes a lot of articles about the Pinetime!

If you feel like you should appear on this list, just get in touch with me or submit a PR :)

Description
Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
Readme
Languages
C 87.9%
C++ 8.9%
Python 1.7%
CMake 0.9%
Ruby 0.3%
Other 0.3%