-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Labels
bugSomething isn't workingSomething isn't workinglow powerLight-/Deep-Sleep and co-processor supportLight-/Deep-Sleep and co-processor supportperipheral:gpioGPIO peripheralGPIO peripheral
Description
Bug description
This code panics
let _xtal_32k = LowPowerInput::<15>::new(peripherals.GPIO15);
====================== PANIC ======================
panicked at /home/dominaezzz/.cargo/git/checkouts/esp-pacs-175859a47098a821/2964cc4/esp32s3/src/rtc_io.rs:102:10:
index out of bounds: the len is 15 but the index is 15
Looks like the PAC needs some love around here.
(I doubt I need to open a separate issue for the const generic 😄)
Expected behavior
It shouldn't panic.
Environment
- Target device: ESP32-S3
- Crate name and version:
main
as of writing.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglow powerLight-/Deep-Sleep and co-processor supportLight-/Deep-Sleep and co-processor supportperipheral:gpioGPIO peripheralGPIO peripheral
Type
Projects
Status
Todo