Skip to content

Commit 08a1953

Browse files
tmedicciacassis
authored andcommitted
Documentation: Document esp32p4-function-ev-board:psram_usrheap
This commit adds an entry for the ESP32-P4-Function-EV-Board's `psram_usrheap` defconfig on docs. Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
1 parent 92a0b18 commit 08a1953

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,17 @@ To save power without using sleep modes, lowering the clock speed is another app
295295
``CONFIG_ESPRESSIF_DFS`` option needs to enabled and minimum CPU frequency needs to set under ``CONFIG_ESPRESSIF_MIN_CPU_FREQ`` option.
296296
With these options, the device scales the CPU clock according to workload.
297297

298+
psram_usrheap
299+
-------------
300+
301+
This configuration enables allocating the userspace heap into SPIRAM and reserves the
302+
internal RAM for kernel heap. For instance, for a 32MB PSRAM::
303+
304+
nsh> free
305+
total used free maxused maxfree nused nfree name
306+
602004 6492 595512 6872 595512 36 1 Kmem
307+
33554428 4276 33550152 4656 33550152 8 1 Umem
308+
298309
pwm
299310
---
300311

Documentation/platforms/risc-v/esp32p4/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ Parallel IO No
348348
LCD Interface No
349349
MIPI DSI No
350350
Timers Yes
351+
SPIRAM / PSRAM Yes
351352
Watchdog Yes MWDT0/1 and RWDT
352353
Ethernet No
353354
Brownout No

0 commit comments

Comments
 (0)