From a314a8c3d724e60e097566f5c9b936a19f976a9c Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Sun, 6 Oct 2024 18:45:48 +0200 Subject: [PATCH] Document setting the PSRAM size for PlatformIO (#2527) --- .github/workflows/pull-request.yml | 1 + docs/platformio.rst | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 056fe71..1d3b617 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -322,6 +322,7 @@ jobs: python -m pip install --upgrade pip pip install --upgrade platformio 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://. cp -f /home/runner/work/arduino-pico/arduino-pico/tools/json/*.json /home/runner/.platformio/platforms/raspberrypi/boards/. - name: Build Every Variant diff --git a/docs/platformio.rst b/docs/platformio.rst index c839cde..42e9ad5 100644 --- a/docs/platformio.rst +++ b/docs/platformio.rst @@ -156,6 +156,22 @@ platform ` + +.. 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 ---------