esp-hal/esp-riscv-rt/Cargo.toml
2024-04-18 16:02:45 +00:00

49 lines
1.3 KiB
TOML

[package]
name = "esp-riscv-rt"
version = "0.8.0"
edition = "2021"
rust-version = "1.65"
description = "Minimal runtime / startup for RISC-V CPUs from Espressif"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
keywords = ["esp32", "riscv", "runtime", "startup"]
categories = ["embedded", "no-std"]
[dependencies]
document-features = "0.2.8"
riscv = "0.11.1"
riscv-rt-macros = "0.2.1"
[features]
## Move the stack to the start of RAM to get zero-cost stack overflow
## protection (ESP32-C6 and ESP32-H2 only!)
fix-sp = []
## Indicate that the device supports `mie` and `mip` instructions.
has-mie-mip = []
#! ### Memory Initialization Feature Flags
## Initialize the `data` section.
init-data = []
## Initialize the `.rtc_fast.data` section.
init-rtc-fast-data = []
## Initialize the `.rtc_fast.text` section.
init-rtc-fast-text = []
## Initialize the `.rwtext` section.
init-rw-text = []
## Zero the `.bss` section.
zero-bss = []
## Zero the `.rtc_fast.bss` section.
zero-rtc-fast-bss = []
# This feature is intended for testing; you probably don't want to enable it:
ci = [
"fix-sp",
"has-mie-mip",
"init-data",
"init-rtc-fast-data",
"init-rtc-fast-text",
"init-rw-text",
"zero-bss",
"zero-rtc-fast-bss",
]