Macro load_lp_code

load_lp_code!() { /* proc-macro */ }
Available on crate feature unstable only.
Expand description

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time. Load code to be run on the LP/ULP core.

§Example

let lp_core_code = load_lp_code!("path.elf");
lp_core_code.run(&mut lp_core, lp_core::LpCoreWakeupSource::HpCpu, lp_pin);