From 8f87c916ec92057b347144d3e83b9997179284f6 Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Sun, 6 Oct 2024 17:55:27 +0200 Subject: [PATCH 1/4] Document setting the PSRAM size for PlatformIO --- docs/platformio.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/platformio.rst b/docs/platformio.rst index c839cde7c..da436e064 100644 --- a/docs/platformio.rst +++ b/docs/platformio.rst @@ -156,6 +156,20 @@ platform ` + +.. code:: ini + + ; PSRAM size: 1MB + board_upload.psram_length = 1048576 + ; PSRAM size: 2MB + board_upload.psram_length = 2097152 + CPU Speed --------- From a845521db2bd7b1057e7ce536e42802bcf63e26a Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Sun, 6 Oct 2024 18:10:59 +0200 Subject: [PATCH 2/4] Slight wording change --- docs/platformio.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platformio.rst b/docs/platformio.rst index da436e064..2b72ecbe5 100644 --- a/docs/platformio.rst +++ b/docs/platformio.rst @@ -161,7 +161,7 @@ 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 about PSRAM usage, see: :doc:`RP2350 PSRAM Support ` +To learn more about PSRAM usage, see: :doc:`RP2350 PSRAM Support ` .. code:: ini From c5b49af8cd67083c294df55f069a50daf5cd67f9 Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Sun, 6 Oct 2024 18:22:43 +0200 Subject: [PATCH 3/4] Slightly expand PSRAM examples --- docs/platformio.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/platformio.rst b/docs/platformio.rst index 2b72ecbe5..42e9ad5da 100644 --- a/docs/platformio.rst +++ b/docs/platformio.rst @@ -169,6 +169,8 @@ To learn more about PSRAM usage, see: :doc:`RP2350 PSRAM Support ` board_upload.psram_length = 1048576 ; PSRAM size: 2MB board_upload.psram_length = 2097152 + ; PSRAM size: 4MB + board_upload.psram_length = 4194304 CPU Speed --------- From 3eeda97acfe34501e9343195df1a9e0ffb85e957 Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Sun, 6 Oct 2024 18:34:56 +0200 Subject: [PATCH 4/4] Update PIO platform in other workflow, too --- .github/workflows/pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 056fe71a7..1d3b617a9 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