2fa2c1a6fe
1054: riscv fixes r=lulf a=swolix With these changes I can run embassy on our RISC-V processor, please consider merging this, feedback is very welcome. I don't fully understand the code in the executor, but I have implemented a critical section by globally disabling interrupts, which means the wfi inside the critical section will hang the whole thing. Co-authored-by: Sijmen Woutersen <sijmen.woutersen@gmail.com>
30 lines
603 B
TOML
30 lines
603 B
TOML
[package]
|
|
name = "embassy-macros"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "macros for creating the entry point and tasks for embassy-executor"
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
categories = [
|
|
"embedded",
|
|
"no-std",
|
|
"asynchronous",
|
|
]
|
|
|
|
[dependencies]
|
|
syn = { version = "1.0.76", features = ["full", "extra-traits"] }
|
|
quote = "1.0.9"
|
|
darling = "0.13.0"
|
|
proc-macro2 = "1.0.29"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[features]
|
|
std = []
|
|
wasm = []
|
|
riscv = []
|
|
|
|
# Enabling this cause interrupt::take! to require embassy-executor
|
|
rtos-trace-interrupt = []
|