mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
Specify required feature critical-section-impl for some examples (#487)
This commit is contained in:
parent
e60a979eda
commit
f2d9fff0e2
|
@ -67,9 +67,9 @@ critical-section-impl = ["critical-section/restore-state-u8"]
|
||||||
[[example]]
|
[[example]]
|
||||||
# irq example uses cortex-m-rt::interrupt, need rt feature for that
|
# irq example uses cortex-m-rt::interrupt, need rt feature for that
|
||||||
name = "gpio_irq_example"
|
name = "gpio_irq_example"
|
||||||
required-features = ["rt"]
|
required-features = ["rt", "critical-section-impl"]
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
# vector_table example uses cortex-m-rt::interrupt, need rt feature for that
|
# vector_table example uses cortex-m-rt::interrupt, need rt feature for that
|
||||||
name = "vector_table"
|
name = "vector_table"
|
||||||
required-features = ["rt"]
|
required-features = ["rt", "critical-section-impl"]
|
||||||
|
|
Loading…
Reference in a new issue