-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bt_gatt_server example fails on esp32c6 with v5.2.3 and v5.3.2 #556
Comments
@untbu Sorry for the delay. I'll try to address both issues tomorrow. Was a bit too busy in the |
OK so this:
... is now fixed in This:
... is a completely separate issue. It seems, for The reason why you only have problems when using However when you call just This second problem is now tracked here, where it was originally reported: esp-rs/esp-idf-sys#365 I'm now closing this issue, as the BT problem is fixed, and the second problem is tracked elsewhere (so that we don't end up with a ton of issues for the same problem everywhere) - sorry for making you jump from issue to issue! |
No worries, thank you very much for the quick investigation and fix!
That sounds awesome, I need to try that! |
Bug description
Calling
BtDriver::new(peripherals.modem, Some(nvs.clone()))?
on an esp32c6 with ESP-IDF versionv5.2.3
orv5.3.2
results in the errorESP_ERR_INVALID_VERSION
. On an esp32c3 or with versionv5.2.2
it works as expected.Log
This issue could have something to do with another error present in
v5.2.3
andv5.3.2
on an esp32c6, but not inv5.2.2
and not on an esp32c3:Image requires efuse blk rev >= v3.21, but chip is v0.3
.As a workaround I split the compilation and flashing into two steps to avoid flashing the bootloader. Without flashing the bootloader, it works somehow. This error was also reported on esp-idf-matter.
Log
To Reproduce
esp-idf-svc
ESP_IDF_VERSION = "v5.2.3"
(orv5.3.2
) in.cargo/config.toml
MCU=esp32c6 cargo +nightly build --target riscv32imac-esp-espidf --example bt_gatt_server --features experimental
espflash flash target/riscv32imac-esp-espidf/debug/examples/bt_gatt_server --monitor
Expected behavior
The example should run successfully, as it does with
v5.2.2
or on an esp32c3 withv5.3.2
Environment
esp-idf-svc
) version: masterThe text was updated successfully, but these errors were encountered: