Skip to content

Commit 8f87c91

Browse files
authored
Document setting the PSRAM size for PlatformIO
1 parent 2324d52 commit 8f87c91

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/platformio.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,20 @@ platform <https://github.com/maxgerhardt/platform-raspberrypi/blob/77e0d3a29d1db
156156
; Flash Size: 2MB (Sketch: 0.5MB, FS:1.5MB)
157157
board_build.filesystem_size = 1.5m
158158
159+
PSRAM size
160+
----------
161+
162+
For RP2350 based boards, this controls how much PSRAM the firmware will think it has available in bytes, mapped at starting address 0x11000000.
163+
164+
To learn about PSRAM usage, see: :doc:`RP2350 PSRAM Support <psram>`
165+
166+
.. code:: ini
167+
168+
; PSRAM size: 1MB
169+
board_upload.psram_length = 1048576
170+
; PSRAM size: 2MB
171+
board_upload.psram_length = 2097152
172+
159173
CPU Speed
160174
---------
161175

0 commit comments

Comments
 (0)