mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 12:41:31 +11:00
Merge pull request #444 from jannic/critical-section-default
Enable critical-section-impl by default only from board crates, not from hal
This commit is contained in:
commit
e681b67d9c
|
@ -25,6 +25,7 @@ smart-leds = "0.3.0"
|
|||
ws2812-pio = "0.4.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -25,6 +25,7 @@ ws2812-pio = "0.4.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["rt", "boot2"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -18,7 +18,8 @@ embedded-hal = { version = "0.2.4", features = ["unproven"] }
|
|||
rp2040-boot2 = { version = "0.2.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["rt", "boot2"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
||||
|
|
|
@ -21,7 +21,8 @@ panic-halt= "0.2.0"
|
|||
embedded-hal ="0.2.5"
|
||||
|
||||
[features]
|
||||
default = ["rt", "boot2"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ ws2812-pio = "0.4.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -24,6 +24,7 @@ ws2812-pio = "0.4.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -24,6 +24,7 @@ nb = "1.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -23,6 +23,7 @@ panic-halt= "0.2.0"
|
|||
nb = "1.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -28,6 +28,7 @@ arrayvec = { version="0.7.1", default-features=false }
|
|||
nb = "1.0.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -22,6 +22,7 @@ embedded-hal ="0.2.5"
|
|||
nb = "1.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -28,6 +28,7 @@ defmt = "0.3.0"
|
|||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -26,6 +26,7 @@ defmt = "0.3.0"
|
|||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -43,7 +43,8 @@ defmt = "0.3.0"
|
|||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
rp2040-e5 = ["rp2040-hal/rp2040-e5"]
|
||||
|
|
|
@ -23,6 +23,7 @@ embedded-hal ="0.2.5"
|
|||
nb = "1.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -17,7 +17,8 @@ rp2040-hal = { path = "../../rp2040-hal", version = "0.6.0" }
|
|||
cortex-m-rt = { version = "0.7", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["rt", "boot2"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ ws2812-pio = "0.4.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -26,6 +26,7 @@ ws2812-pio = "0.4.0"
|
|||
fugit = "0.3.5"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -28,6 +28,7 @@ ws2812-pio = "0.4.0"
|
|||
pio = "0.2.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
|
|
|
@ -44,7 +44,6 @@ pio-proc = "0.2.0"
|
|||
dht-sensor = "0.2.1"
|
||||
|
||||
[features]
|
||||
default = ["critical-section-impl"]
|
||||
rt = ["rp2040-pac/rt"]
|
||||
rom-func-cache = []
|
||||
disable-intrinsics = []
|
||||
|
|
Loading…
Reference in a new issue