Document setting the PSRAM size for PlatformIO (#2527)
This commit is contained in:
parent
58c0d95114
commit
a314a8c3d7
2 changed files with 17 additions and 0 deletions
1
.github/workflows/pull-request.yml
vendored
1
.github/workflows/pull-request.yml
vendored
|
|
@ -322,6 +322,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio
|
||||||
pio pkg install --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
|
pio pkg install --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
|
||||||
|
pio pkg update --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
|
||||||
pio pkg install --global --tool symlink://.
|
pio pkg install --global --tool symlink://.
|
||||||
cp -f /home/runner/work/arduino-pico/arduino-pico/tools/json/*.json /home/runner/.platformio/platforms/raspberrypi/boards/.
|
cp -f /home/runner/work/arduino-pico/arduino-pico/tools/json/*.json /home/runner/.platformio/platforms/raspberrypi/boards/.
|
||||||
- name: Build Every Variant
|
- name: Build Every Variant
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,22 @@ platform <https://github.com/maxgerhardt/platform-raspberrypi/blob/77e0d3a29d1db
|
||||||
; Flash Size: 2MB (Sketch: 0.5MB, FS:1.5MB)
|
; Flash Size: 2MB (Sketch: 0.5MB, FS:1.5MB)
|
||||||
board_build.filesystem_size = 1.5m
|
board_build.filesystem_size = 1.5m
|
||||||
|
|
||||||
|
PSRAM size
|
||||||
|
----------
|
||||||
|
|
||||||
|
For RP2350 based boards, this controls how much PSRAM the firmware will think it has available in bytes, mapped at starting address 0x11000000.
|
||||||
|
|
||||||
|
To learn more about PSRAM usage, see: :doc:`RP2350 PSRAM Support <psram>`
|
||||||
|
|
||||||
|
.. code:: ini
|
||||||
|
|
||||||
|
; PSRAM size: 1MB
|
||||||
|
board_upload.psram_length = 1048576
|
||||||
|
; PSRAM size: 2MB
|
||||||
|
board_upload.psram_length = 2097152
|
||||||
|
; PSRAM size: 4MB
|
||||||
|
board_upload.psram_length = 4194304
|
||||||
|
|
||||||
CPU Speed
|
CPU Speed
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue