Crate esp_riscv_rt

source ·
Expand description

Minimal startup/runtime for RISC-V CPUs from Espressif.

§Features

This crate provides:

  • Before main initialization of the .bss and .data sections controlled by features
  • #[entry] to declare the entry point of the program

§Feature Flags

  • fix-sp — Move the stack to the start of RAM to get zero-cost stack overflow protection (ESP32-C6 and ESP32-H2 only!)
  • has-mie-mip — Indicate that the device supports mie and mip instructions.

§Memory Initialization Feature Flags

  • init-data — Initialize the data section.
  • init-rtc-fast-data — Initialize the .rtc_fast.data section.
  • init-rtc-fast-text — Initialize the .rtc_fast.text section.
  • init-rw-text — Initialize the .rwtext section.
  • zero-bss — Zero the .bss section.
  • zero-rtc-fast-bss — Zero the .rtc_fast.bss section.

Re-exports§

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

Structs§

Functions§

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.