Timo Lang
Timo Lang
# Experiment 2: Add `#[inline(never)]` I've annotated my functions a,b,c with `#[inline(never)]` , the rest is the same as in Experiment 1. main.rs ```rust #[inline(never)] fn c() { let bt...
# Experiment 3: Set `RUST_BACKTRACE=1` I've added `std::env::set_var("RUST_BACKTRACE", "1");` to main.rs, the rest is the same as in Experiment 2. main.rs ```rust #[inline(never)] fn c() { let bt = esp_backtrace::arch::backtrace();...
# Experiment 4: Enable DWARF by setting `CONFIG_ESP_SYSTEM_USE_EH_FRAME=y` I've added `CONFIG_ESP_SYSTEM_USE_EH_FRAME=y` to sdkconfig.defaults, the rest ist the same as in experiment 3. sdkconfig.defautls ``` # Rust often needs a bit...
# Conclusion Coming from esp-hal, I find the backtraces on esp-idf-sys extremely painful to handle. They contain a lot of noise, and unless i enable DWARF generation, they will not...
> **UPDATE**: Seems you are running with level "z" (optimize for size, but still inline). What happens if you change this to 0? > **UPDATE 2**: Not clear from the...
Oops. I was a bit too eagerly creating https://github.com/esp-rs/espflash/issues/543, seeing your conclusion here ^^. Can you take over, and create the remaining issues/tasks based on your action items?
Minimal example // repro: 1. start with an erased esp32c6 (I'm using a esp32-c6-devkit-c1 v1.2 here) 2. Run `cargo generate esp-rs/esp-idf-template` to generate a hello world with std, based on...
I've also tried to use the esp idf provided bootloader, e.g. flash with `espflash flash --bootloader target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-7af63acd3e33c9a6/out/build/bootloader/bootloader.bin --monitor target/riscv32imac-esp-espidf/debug/flashproblems` for v5.1.1: same problem. for v5.2-beta2: same problem. EDIT: * power...
Thanks for trying to reproduce this @SergioGasquez . I can also not reproduce this reliably. There are times where this issue occurs constantly and then there are times where it...
At least in this case here, it is not the cable: I've just had another occurrence with a new chip + new cable. The fact that `idf.py monitor` works in...