1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! 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.
use ;
pub use ;
/// Bytes of reclaimed bootloader RAM handed to the heap (the value
/// `esp-generate` uses for the ESP32-S3).
pub const RECLAIMED_HEAP_BYTES: usize = 73_744;
/// The radio peripherals.
reborrow_group!;
pub
/// Heap usage in bytes: `(used, free)`. Available with the `radio` feature.