From f2d9fff0e28a11bafe7862739cb05cc1ce466099 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Fri, 28 Oct 2022 23:15:32 +0200 Subject: [PATCH] Specify required feature critical-section-impl for some examples (#487) --- rp2040-hal/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/Cargo.toml b/rp2040-hal/Cargo.toml index 6031ab0..b61c064 100644 --- a/rp2040-hal/Cargo.toml +++ b/rp2040-hal/Cargo.toml @@ -67,9 +67,9 @@ critical-section-impl = ["critical-section/restore-state-u8"] [[example]] # irq example uses cortex-m-rt::interrupt, need rt feature for that name = "gpio_irq_example" -required-features = ["rt"] +required-features = ["rt", "critical-section-impl"] [[example]] # vector_table example uses cortex-m-rt::interrupt, need rt feature for that name = "vector_table" -required-features = ["rt"] +required-features = ["rt", "critical-section-impl"]