mik32-runtime 0.4.0

Minimal Rust runtime for the MIK32 Amur microcontroller
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![no_std]
#![doc = include_str!("../README.md")]

#[cfg(all(feature = "memory-default", feature = "memory-spifi"))]
compile_error!("features `memory-default` and `memory-spifi` are mutually exclusive");

#[cfg(not(any(feature = "memory-default", feature = "memory-spifi")))]
compile_error!("enable either `memory-default` or `memory-spifi`");

#[cfg(target_arch = "riscv32")]
mod asm;

#[cfg(target_arch = "riscv32")]
pub mod interrupt;

pub use mik32_runtime_macros::entry;