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 ESP32esp32s2
— Target the ESP32-S2esp32s3
— Target the ESP32-S3
Re-exports§
pub use xtensa_lx;
Modules§
- Exception handling
- Interrupts
Functions§
- NMI⚠
- Initializes the
.data
section by copying it from the location indicated bysidata
. - Zeroes the
.bss
section.
Attribute Macros§
- Marks a function as the main function to be called on program start
- Marks a function as the exception handler
- Marks a function as the interrupt handler, with optional interrupt level indicated
- Marks a function as the pre_init function. This function is called before main and before the memory is initialized.