-
Notifications
You must be signed in to change notification settings - Fork 389
Open
Description
Bug description
Discussion initially documented in https://github.com/esp-rs/esp-hal/discussions/4631
To Reproduce
- See https://github.com/renkenono/esp-hal/blob/fix/wifi-deinit-flow/examples/wifi/embassy_sntp/src/main.rs.
- Relying purely on
Droptrait, see renkenono@7b6baef. - Gracefully shutting down the controller by disconnecting then stopping it, see renkenono@79a032c.
- Relying purely on
Expected behavior
- No crashes.
- WiFi HW is powered off completely.
- WiFi dynamically allocated memory is freed.
Environment
- Target device: [e.g. ESP32-S3] ESP32C6
Chip type: esp32c6 (revision v0.1)
Crystal frequency: 40 MHz
Flash size: 4MB
Features: WiFi 6, BT 5
MAC address: f0:f5:bd:2b:d9:34
Security Information:
=====================
Flags: 0x00000000 (0)
Key Purposes: [0, 0, 0, 0, 0, 0, 12]
Chip ID: 13
API Version: 0
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0
- Crate name and version: [e.g. esp-hal 0.20.0] esp-hal v1.0.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Review