aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronsdagens <pawdzi-7@student.ltu.se>2023-09-27 22:01:06 +0200
committerEmil Fresk <emil.fresk@gmail.com>2023-09-27 20:10:00 +0000
commit852d63d9e41bdd986f3ce209d260c4d244a5fba6 (patch)
treedd226adc1d976e124bd29d9a8a885accb14df28e
parent2b2208e217a96086696bd6f36cff2a6cd4c4ac9f (diff)
export esp32c3 nop
export esp32c3 nop export esp32c3 nop
-rw-r--r--rtic/src/export/riscv_esp32c3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic/src/export/riscv_esp32c3.rs b/rtic/src/export/riscv_esp32c3.rs
index f093672..bd43245 100644
--- a/rtic/src/export/riscv_esp32c3.rs
+++ b/rtic/src/export/riscv_esp32c3.rs
@@ -1,6 +1,6 @@
use esp32c3::INTERRUPT_CORE0; //priority threshold control
pub use esp32c3::{Interrupt, Peripherals};
-pub use riscv::{interrupt, register::mcause}; //low level interrupt enable/disable
+pub use riscv::{asm::nop, interrupt, register::mcause}; //low level interrupt enable/disable
#[cfg(all(feature = "riscv-esp32c3", not(feature = "riscv-esp32c3-backend")))]
compile_error!("Building for the esp32c3, but 'riscv-esp32c3-backend not selected'");