mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
f8de8755cc
* Add an rp2040 specific #[entry] macro. This macro extends the one from cortex-m-rt by code to unlock all spinlocks on boot. * Idiomatic pointer arithmetic Apply suggestion by @9names, improving address calculations. (This doesn't change the generated code at opt levels 2 or "z".) Co-authored-by: 9names <60134748+9names@users.noreply.github.com>
21 lines
335 B
TOML
21 lines
335 B
TOML
[package]
|
|
description = "Macros used by rp2040-hal"
|
|
license = "MIT OR Apache-2.0"
|
|
name = "rp2040-hal-macros"
|
|
readme = "README.md"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
quote = "1.0"
|
|
proc-macro2 = "1.0"
|
|
cortex-m-rt = "0.7.0"
|
|
|
|
[dependencies.syn]
|
|
features = ["extra-traits", "full"]
|
|
version = "1.0"
|
|
|