Crate alkyn

source · []
Expand description

Alkyn kernel for the RP2040 MCU.

The Alkyn kernel is a small prototype Kernel exploring the usability of Erlang-style message passing in microcontroller kernels.

It should not, as of June 2022, be considered production ready.

Minimum supported Rust version

Nightly, as new as you can get; I’ve done some terrible things

Safety

Horrendous.

Re-exports

pub use cortex_m_rt as rt;
pub use defmt;

Modules

Erlang-like GenServer.

A heap allocator for cortex-m-processors. Based off cortex-m-alloc, adapted to use rp2040 spinlocks

defmt global logger over RTT.

Access to useful CPU functions.

Methods to syncronise across cores safely.

Use threads and message passing

Functions

Initialize the kernel.

Starts the Kernel and associated threads.