mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 21:00:59 +00:00

* Remove the `direct-vectoring` feature * Enables the feature by default * renames the old direct_vectoring enable function `enable_direct` * Make enable_direct safe, move it out of vectored module * enable interrupt preemption by default for riscv * remove pub from cpu intr handlers * add enable_direct for Xtensa too * Fix flip-link feature * Fix up interrupt docs * changelog * fix clippy suggestions * Disable P4 workflow
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "esp-riscv-rt"
|
|
version = "0.7.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",
|
|
]
|