Crate esp_riscv_rt

source ·
Expand description

Minimal startup / runtime for RISC-V CPUs from Espressif

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.60 and up. It might compile with older versions but that may change in any new patch release.

Features

This crate provides:

  • Before main initialization of the .bss and .data sections
  • #[entry] to declare the entry point of the program
  • #[pre_init] to run code before static variables are initialized

Re-exports

pub use riscv;
pub use self::Interrupt as interrupt;

Structs

Registers saved in trap handler

Functions

Rust entry point (_start_rust)
Trap entry point rust (_start_trap_rust)

Attribute Macros

Attribute to declare the entry point of the program
Attribute to mark which function will be called at the beginning of the reset handler.