mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-12 21:31:31 +11:00
Add 'rt' feature (#53)
For the HAL, currently just passes the feature to the PAC. Also pass the 'rt' feature through to the HAL for all the BSP crates.
This commit is contained in:
parent
614180eda3
commit
17f8a5ab99
|
@ -16,4 +16,4 @@ cortex-m-rt = { version = "0.6.14", optional = true }
|
|||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
rt = ["cortex-m-rt"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
|
@ -12,4 +12,8 @@ license = "MIT OR Apache-2.0"
|
|||
[dependencies]
|
||||
cortex-m = "0.7.2"
|
||||
rp2040-hal = { path = "../../rp2040-hal", version = "0.1.0" }
|
||||
cortex-m-rt = { version = "0.6.14", optional = true }
|
||||
cortex-m-rt = { version = "0.6.14", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
|
@ -16,4 +16,4 @@ cortex-m-rt = { version = "0.6.14", optional = true }
|
|||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
rt = ["cortex-m-rt"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
|
@ -16,4 +16,4 @@ cortex-m-rt = { version = "0.6.14", optional = true }
|
|||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
rt = ["cortex-m-rt"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
|
@ -21,3 +21,6 @@ paste = "1.0"
|
|||
cortex-m-rt = "0.6.14"
|
||||
panic-halt = "0.2.0"
|
||||
rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", branch="main" }
|
||||
|
||||
[features]
|
||||
rt = ["rp2040-pac/rt"]
|
Loading…
Reference in a new issue