diff --git a/esp32c2-hal/examples/embassy_wait.rs b/esp32c2-hal/examples/embassy_wait.rs index a0e159d6504..1cb779c6457 100644 --- a/esp32c2-hal/examples/embassy_wait.rs +++ b/esp32c2-hal/examples/embassy_wait.rs @@ -34,7 +34,7 @@ async fn ping(mut pin: Gpio9>) { static EXECUTOR: StaticCell = StaticCell::new(); -#[riscv_rt::entry] +#[esp_riscv_rt::entry] fn main() -> ! { esp_println::println!("Init!"); let peripherals = Peripherals::take(); diff --git a/esp32c3-hal/examples/embassy_wait.rs b/esp32c3-hal/examples/embassy_wait.rs index 7e815f84823..b09ab77cd48 100644 --- a/esp32c3-hal/examples/embassy_wait.rs +++ b/esp32c3-hal/examples/embassy_wait.rs @@ -34,7 +34,7 @@ async fn ping(mut pin: Gpio9>) { static EXECUTOR: StaticCell = StaticCell::new(); -#[riscv_rt::entry] +#[esp_riscv_rt::entry] fn main() -> ! { esp_println::println!("Init!"); let peripherals = Peripherals::take();