mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
![]() Make sure we sleep, even if there are animations. Previously we would spin the event loop forever once an animation started. Ideally we need some slint API to get the duration until the next animation tick. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
prj.conf | ||
README.md | ||
VERSION |
Printer Demo with Zephyr
Prerequisites
Before you can run this example, make sure you have the following:
-
The Zephyr development environment. Use the Zephyr getting started guide to install it.
-
Rust, with the nightly channel enabled:
# Install via rustup # See https://www.rust-lang.org/tools/install # Enable the nightly channel rustup toolchain install nightly rustup default nightly
Running the Example
Once you have the prerequisites, navigate to this directory and execute the following comands:
# Activate the Zephyr virtualenv
source <path/to>/zephyrproject/.venv/bin/activate
# CMake only:
cmake -GNinja -S . -B ./build -DBOARD=native_sim/native/64
cmake --build ./build -t run