Cargo Features

xtensa-lx-rt has no features set by default.

[dependencies]
xtensa-lx-rt = { version = "0.17.1", features = ["float-save-restore", "esp32", "esp32s2", "esp32s3"] }
float-save-restore

Save and restore float registers for exceptions

Affects context::Context.F64R_LO, context::Context.F64R_HI, context::Context.F64S, context::Context.FCR, context::Context.FSR, context::Context.F0, context::Context.F1, context::Context.F2, context::Context.F3, context::Context.F4, context::Context.F5, context::Context.F10

esp32

Chip Support Feature Flags

Target the ESP32

esp32s2

Target the ESP32-S2

esp32s3

Target the ESP32-S3