xous-core/apps/ball
bunnie a0c4304d29 add focus/defocus messages to the GAM
this allows animation-heavy apps to be backgrounded and not
continue to run their animation while backgrounded.
2022-01-23 17:12:14 +08:00
..
src add focus/defocus messages to the GAM 2022-01-23 17:12:14 +08:00
Cargo.toml laying in some framework for user applications 2022-01-23 15:52:17 +08:00
README.md laying in some framework for user applications 2022-01-23 15:52:17 +08:00

Ball

A simple demo application that mainly demonstrates how to integrate into the Xous framework, but without much emphasis on I/O.

Integration

  1. Add a UX context by editing services/gam/src/lib.rs/EXPECTED_BOOT_CONTEXTS
  2. Copy this demo application, and rename the relevant structures in its Cargo.toml and main.rs.
  3. Add it to the Workspace default-members and members arrays by editing ./Cargo.toml
  4. Add it to the build by editing xtask/src/main.rs and inserting it into the relevant descriptor. Typically, you would insert your app into the hw_pkgs array, 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.