Expand description
Wi-Fi and Bluetooth LE through Espressif’s esp-radio.
The radio’s MAC/PHY firmware is only available from Espressif as binary
libraries, which esp-radio wraps. This board crate’s job is ownership
and memory: with the radio feature, crate::init gives the global
heap the ~72 KB of RAM the second-stage bootloader used, which is free
once the app runs. The radio’s buffers therefore don’t compete with the
framebuffer or audio streams.
Enable wifi and/or ble on this crate for the helpers in
crate::net and crate::ble, or use esp_radio directly
(re-exported here). Running both at once (coexistence) needs more heap
than the reclaimed region provides; add a second region with
[esp_alloc::heap_allocator!] in the app.
Re-exports§
pub use esp_alloc;pub use esp_radio;
Structs§
- Radio
Resources - The radio peripherals.
Constants§
- RECLAIMED_
HEAP_ BYTES - Bytes of reclaimed bootloader RAM handed to the heap (the value
esp-generateuses for the ESP32-S3).
Functions§
- heap_
usage - Heap usage in bytes:
(used, free). Available with theradiofeature.