system (RTOS) that is easy to deploy, secure, connect and manage.
It has a growing set of software libraries that can be used
across various applications and industry sectors such as
Industrial IoT, wearables, machine learning and more.
Zephyr is built with an emphasis on broad chipset support,
security, dependability, longterm support releases and a
growing open source ecosystem.
Highlights of Zephyr
~~~~~~~~~~~~~~~~~~~~
-**Small** - Runs on microcontrollers as small as 8 kB Flash
and 5 kB of RAM.
-**Scalable** - Usable for complex multicore systems.
-**Customizable** - Out-of-the-box support for 500+ boards
and high portability.
-**Secure** - Built with safety and security in mind,
offers Long-term support.
-**Ecosystem** - Zephyr not only provides the RTOS kernel but
also developer tooling, device drivers, connectivity, logging,
tracing, power management and much more.
-**Decoupling** - Leverages devicetree to describe and
configure the target system.
-**Compliant** - Apps are runnable as native Linux applications,
which simplifies debugging and profiling.
How to run LVGL on Zephyr?
--------------------------
To setup your development environment refer to the
`getting started guide <https://docs.zephyrproject.org/latest/develop/getting_started/index.html>`__.
After you completed the setup above you can check out all of the `provided samples <https://docs.zephyrproject.org/latest/samples/>`__ for various boards.
You can check the list of available boards using:
..code:: shell
$ west boards
After you chose a board you can build one of the LVGL demos for it. Here we are using the :code:`native_posix`
board, which allows for running the application on your posix compliant host system:
..code:: shell
$ west build -b native_posix samples/modules/lvgl/demos
To run the application on your host:
..code:: shell
$ west build -t run
In case you chose any of the other supported boards you can flash to the device with:
..code:: shell
$ west flash
If you want to build any of the other demo applications check out the samples