drone-riscv 0.14.0

RISC-V platform crate for Drone, an Embedded Operating System.
Documentation
//! RISC-V platform crate for Drone, an Embedded Operating System.
//!
//! # Supported Cores
//!
//! | Architecture | Core name      | Rust target                    | `riscv_core` config flag |
//! |--------------|----------------|--------------------------------|--------------------------|
//! | RV32IMAC     | Bumblebee Core | `riscv32imac-unknown-none-elf` | `bumblebee`              |
//!
//! Rust target triple and `riscv_core` config flag should be set at the
//! application level according to this table.
//!
//! # Documentation
//!
//! - [Drone Book](https://book.drone-os.com/)
//! - [API documentation](https://api.drone-os.com/drone-riscv/0.14/)
//!
//! # Usage
//!
//! Add the crate to your `Cargo.toml` dependencies:
//!
//! ```toml
//! [dependencies]
//! drone-riscv = { version = "0.14.0", features = [...] }
//! ```
//!
//! Add or extend `std` feature as follows:
//!
//! ```toml
//! [features]
//! std = ["drone-riscv/std"]
//! ```

#![feature(asm)]
#![feature(naked_functions)]
#![feature(never_type)]
#![feature(prelude_import)]
#![warn(missing_docs, unsafe_op_in_unsafe_fn)]
#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;

pub mod processor;
pub mod reg;
pub mod thr;

mod rt;

mod drone_core_macro_reexport {
    pub use drone_core::reg;
}

pub use drone_core_macro_reexport::*;

#[prelude_import]
#[allow(unused_imports)]
use drone_core::prelude::*;