mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-25 09:50:52 +00:00
this allows animation-heavy apps to be backgrounded and not continue to run their animation while backgrounded. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
Ball
A simple demo application that mainly demonstrates how to integrate into the Xous framework, but without much emphasis on I/O.
Integration
- Add a UX context by editing
services/gam/src/lib.rs/EXPECTED_BOOT_CONTEXTS - Copy this demo application, and rename the relevant structures in its
Cargo.tomlandmain.rs. - Add it to the Workspace
default-membersandmembersarrays by editing./Cargo.toml - Add it to the build by editing
xtask/src/main.rsand inserting it into the relevant descriptor. Typically, you would insert your app into thehw_pkgsarray, as this is what is built and targeted for full hardware builds. Most of the other trimmed-down descriptors are for debug, emulation, and benchmarking.