mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 12:55:23 +01:00
76 lines
2.3 KiB
TOML
76 lines
2.3 KiB
TOML
[package]
|
|
authors = [
|
|
"The Real-Time Interrupt-driven Concurrency developers",
|
|
"Emil Fresk <emil.fresk@gmail.com>",
|
|
"Henrik Tjäder <henrik@tjaders.com>",
|
|
"Jorge Aparicio <jorge@japaric.io>",
|
|
"Per Lindgren <per.lindgren@ltu.se>",
|
|
]
|
|
categories = ["concurrency", "embedded", "no-std", "asynchronous"]
|
|
description = "Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems"
|
|
documentation = "https://rtic.rs/"
|
|
edition = "2024"
|
|
keywords = ["embedded", "async", "runtime", "no-std", "rtos"]
|
|
license = "MIT OR Apache-2.0"
|
|
name = "rtic"
|
|
readme = "../README.md"
|
|
repository = "https://github.com/rtic-rs/rtic"
|
|
|
|
version = "2.2.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["thumbv7-backend"]
|
|
|
|
[lib]
|
|
name = "rtic"
|
|
|
|
[dependencies]
|
|
riscv-slic = { version = "0.2.0", optional = true }
|
|
esp32c3 = { version = "0.30.0", optional = true }
|
|
esp32c6 = { version = "0.21.0", optional = true }
|
|
riscv = { version = "0.15.0", optional = true }
|
|
cortex-m = { version = "0.7.0", optional = true }
|
|
portable-atomic = { version = "1", default-features = false }
|
|
rtic-macros = { path = "../rtic-macros", version = "=2.2.0" }
|
|
rtic-core = "1"
|
|
critical-section = "1"
|
|
|
|
[dev-dependencies]
|
|
lm3s6965 = "0.2"
|
|
cortex-m-semihosting = "0.5.0"
|
|
|
|
[dev-dependencies.futures]
|
|
version = "0.3.26"
|
|
default-features = false
|
|
features = ["async-await"]
|
|
|
|
[dev-dependencies.panic-semihosting]
|
|
features = ["exit"]
|
|
version = "0.6.0"
|
|
|
|
[target.x86_64-unknown-linux-gnu.dev-dependencies]
|
|
trybuild = "1"
|
|
|
|
[features]
|
|
default = []
|
|
thumbv6-backend = ["cortex-m", "rtic-macros/cortex-m-source-masking"]
|
|
thumbv7-backend = ["cortex-m", "rtic-macros/cortex-m-basepri"]
|
|
thumbv8base-backend = ["cortex-m", "rtic-macros/cortex-m-source-masking"]
|
|
thumbv8main-backend = ["cortex-m", "rtic-macros/cortex-m-basepri"]
|
|
# riscv-clic-backend = ["rtic-macros/riscv-clic"]
|
|
# riscv-ch32-backend = ["rtic-macros/riscv-ch32"]
|
|
riscv-esp32c3-backend = ["esp32c3", "riscv", "rtic-macros/riscv-esp32c3"]
|
|
riscv-esp32c6-backend = ["esp32c6", "riscv", "rtic-macros/riscv-esp32c6"]
|
|
riscv-clint-backend = [
|
|
"riscv",
|
|
"riscv-slic/clint-backend",
|
|
"rtic-macros/riscv-clint",
|
|
]
|
|
riscv-mecall-backend = [
|
|
"riscv",
|
|
"riscv-slic/mecall-backend",
|
|
"rtic-macros/riscv-mecall",
|
|
]
|
|
|
|
# needed for testing
|
|
test-critical-section = ["portable-atomic/critical-section"]
|