mik32-runtime 0.2.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
17
#![no_std]
#![no_main]
#![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(any(target_arch = "riscv32", target_arch = "riscv64"))]
mod asm;

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

pub use mik32_runtime_macros::entry;