This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
esp32s3_usb_otg_hello_world crash - double call of Peripherals::take #28
Closed
Description
Build command:
cargo +esp-1.56.0.1 espflash --target xtensa-esp32s3-espidf --release --features "esp32s3_usb_otg" --monitor COM5
Crash on line:
https://github.com/ivmarkov/rust-esp32-std-demo/blob/main/src/main.rs#L660
Reason: Peripherals::take().unwrap()
- invoked twice:
- https://github.com/ivmarkov/rust-esp32-std-demo/blob/main/src/main.rs#L113
- https://github.com/ivmarkov/rust-esp32-std-demo/blob/main/src/main.rs#L660
Workaround: remove one call of Peripherals
Note: espflash was installed by command: cargo install cargo-espflash --git https://github.com/jessebraham/espflash.git --branch fixes/target-arg
Note 2: resulting app is slightly bigger then default partition, after deleting some code, the app fits. We're investigating options to set partition size via espflash.
Metadata
Metadata
Assignees
Labels
No labels