Specify required feature critical-section-impl for some examples (#487)

This commit is contained in:
Jan Niehusmann 2022-10-28 23:15:32 +02:00 committed by GitHub
parent e60a979eda
commit f2d9fff0e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]