mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00

* Support "build-documentation-index --serve" * Support `/latest` in generated docs * `/latest` vs `/latest/` * Update documentation field
56 lines
1.8 KiB
TOML
56 lines
1.8 KiB
TOML
[package]
|
|
name = "esp-backtrace"
|
|
version = "0.15.1"
|
|
edition = "2021"
|
|
rust-version = "1.84.0"
|
|
description = "Bare-metal backtrace support for Espressif devices"
|
|
documentation = "https://docs.espressif.com/projects/rust/esp-backtrace/latest/"
|
|
keywords = ["backtrace", "embedded", "esp32", "espressif"]
|
|
categories = ["embedded", "hardware-support", "no-std"]
|
|
repository = "https://github.com/esp-rs/esp-hal"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
default-target = "riscv32imc-unknown-none-elf"
|
|
features = ["esp32c3", "panic-handler", "exception-handler", "println", "esp-println/uart"]
|
|
|
|
[dependencies]
|
|
defmt = { version = "0.3.10", optional = true }
|
|
esp-println = { version = "0.13.0", optional = true, default-features = false, path = "../esp-println" }
|
|
semihosting = { version = "0.1.18", optional = true }
|
|
|
|
[build-dependencies]
|
|
esp-build = { version = "0.2.0", path = "../esp-build" }
|
|
|
|
[features]
|
|
default = ["colors"]
|
|
|
|
esp32 = ["esp-println?/esp32", "semihosting?/openocd-semihosting", "print-float-registers"]
|
|
esp32c2 = ["esp-println?/esp32c2"]
|
|
esp32c3 = ["esp-println?/esp32c3"]
|
|
esp32c6 = ["esp-println?/esp32c6"]
|
|
esp32h2 = ["esp-println?/esp32h2"]
|
|
esp32p4 = ["esp-println?/esp32p4"]
|
|
esp32s2 = ["esp-println?/esp32s2", "semihosting?/openocd-semihosting"]
|
|
esp32s3 = ["esp-println?/esp32s3", "semihosting?/openocd-semihosting", "print-float-registers"]
|
|
|
|
# Use esp-println
|
|
println = ["dep:esp-println"]
|
|
|
|
# Use defmt
|
|
defmt = ["dep:defmt"]
|
|
|
|
print-float-registers = [] # TODO support esp32p4
|
|
|
|
# You may optionally enable one or more of the below features to provide
|
|
# additional functionality:
|
|
colors = []
|
|
custom-halt = []
|
|
custom-pre-backtrace = []
|
|
exception-handler = []
|
|
halt-cores = []
|
|
panic-handler = []
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = "allow"
|