Crate xtensa_lx_rt

Source
Expand description

Minimal startup/runtime for Xtensa LX CPUs.

§Minimum Supported Rust Version (MSRV)

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

§Feature Flags

  • float-save-restore — Save and restore float registers for exceptions

§Chip Support Feature Flags

  • esp32 — Target the ESP32
  • esp32s2 — Target the ESP32-S2
  • esp32s3 — Target the ESP32-S3

Re-exports§

pub use xtensa_lx;

Modules§

exception
Exception handling
interrupt
Interrupts

Functions§

NMI
Profiling
Software0
Software1
Timer0
Timer1
Timer2
init_data
Initializes the .data section by copying it from the location indicated by sidata.
zero_bss
Zeroes the .bss section.

Attribute Macros§

entry
Marks a function as the main function to be called on program start
exception
Marks a function as the exception handler
interrupt
Marks a function as the interrupt handler, with optional interrupt level indicated
pre_init
Marks a function as the pre_init function. This function is called before main and before the memory is initialized.