🦀 New hardware. Same codebase.
That works when your Domain Core knows nothing about pins.
Until recently, my game colorhurry ran on the Circuit Playground Bluefruit. Now it also runs on the tiny Seeed XIAO #nRF52840.
Instead of the built-in ring and onboard buttons, this setup uses a ten-LED Grove stick and a Grove dual button. Both boards share the same chip. Because of that, I did not need a second firmware. A feature flag with its own pin table did the job.
We keep large multi-platform systems maintainable the exact same way:
🔒 Keep business rules untouched inside the core.
🗺️ Reduce the outside world to a thin mapping table.
⚙️ Pay for new target platforms with configuration instead of rewrites.
You can find the #RustLang setup in the repository:
🔗 github.com/mknet/colorhurry
Where does a clean... mostrar más🦀 New hardware. Same codebase.
That works when your Domain Core knows nothing about pins.
Until recently, my game colorhurry ran on the Circuit Playground Bluefruit. Now it also runs on the tiny Seeed XIAO #
nRF52840.
Instead of the built-in ring and onboard buttons, this setup uses a ten-LED Grove stick and a Grove dual button. Both boards share the same chip. Because of that, I did not need a second firmware. A feature flag with its own pin table did the job.
We keep large multi-platform systems maintainable the exact same way:
🔒 Keep business rules untouched inside the core.
🗺️ Reduce the outside world to a thin mapping table.
⚙️ Pay for new target platforms with configuration instead of rewrites.
You can find the #
RustLang setup in the repository:
🔗
github.com/mknet/colorhurryWhere does a clean split between core logic and hardware save your team from maintaining a second branch today?
#
EmbeddedRust #
Embedded #
SoftwareArchitecture #
CrossPlatform #
OpenSource #
MicrocontrollerA game to show the flexibility of Rust and Crux. Contribute to mknet/colorhurry development by creating an account on GitHub.
GitHub