macro_rules! nros_platform_export {
($ty:ty) => { ... };
}Expand description
Convenience: emit every nros_platform_* symbol declared in
<nros/platform.h> by delegating to the corresponding
nros_platform_api::Platform* trait method on $ty. The caller must
implement every trait covered by the capability macros.
Logging (nros_platform_export_log!) is NOT part of this convenience
macro: bare-metal platforms typically need to supply a writer
(hprintln! / defmt::info!) that requires extra deps not all
platforms link against. Call nros_platform_export_log! separately
after the platform crate implements PlatformLog.