Skip to content

Commit

Permalink
Add missing ROM functions for ESP32-S3/ESP32-S2 (esp-rs#160)
Browse files Browse the repository at this point in the history
* Add missing ROM functions for ESP32-S3/ESP32-S2

* Cut down nocoex + big-heap heap-size
  • Loading branch information
bjoernQ committed May 23, 2024
1 parent dbf2867 commit 0a958fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions esp-wifi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ const HEAP_SIZE: usize = 64 * 1024;
#[cfg(all(coex, not(feature = "big-heap")))]
const HEAP_SIZE: usize = 64 * 1024;

#[cfg(all(not(coex), feature = "big-heap"))]
const HEAP_SIZE: usize = 100 * 1024;
#[cfg(all(not(coex), not(feature = "esp32s2"), feature = "big-heap"))]
const HEAP_SIZE: usize = 92 * 1024;

#[cfg(all(not(coex), feature = "esp32s2", feature = "big-heap"))]
const HEAP_SIZE: usize = 72 * 1024;

#[cfg(all(coex, feature = "big-heap"))]
const HEAP_SIZE: usize = 100 * 1024;
Expand Down

0 comments on commit 0a958fd

Please sign in to comment.