From 1d30d2a2218d3000650b5a30e9f827c81e6767b6 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Fri, 4 Oct 2024 17:21:58 -0700 Subject: [PATCH] Add PSRAM size menu to Adafruit 2350 HSTX See #2512 --- boards.txt | 8 ++++++++ tools/makeboards.py | 3 +++ 2 files changed, 11 insertions(+) diff --git a/boards.txt b/boards.txt index b11b3b185..21a54c6dd 100644 --- a/boards.txt +++ b/boards.txt @@ -5365,6 +5365,14 @@ adafruit_feather_rp2350_hstx.menu.freq.275=275 MHz (Overclock) adafruit_feather_rp2350_hstx.menu.freq.275.build.f_cpu=275000000L adafruit_feather_rp2350_hstx.menu.freq.300=300 MHz (Overclock) adafruit_feather_rp2350_hstx.menu.freq.300.build.f_cpu=300000000L +adafruit_feather_rp2350_hstx.menu.psram.0mb=0MByte PSRAM +adafruit_feather_rp2350_hstx.menu.psram.0mb.build.psram_length=0x000000 +adafruit_feather_rp2350_hstx.menu.psram.2mb=2MByte PSRAM +adafruit_feather_rp2350_hstx.menu.psram.2mb.build.psram_length=0x200000 +adafruit_feather_rp2350_hstx.menu.psram.4mb=4MByte PSRAM +adafruit_feather_rp2350_hstx.menu.psram.4mb.build.psram_length=0x400000 +adafruit_feather_rp2350_hstx.menu.psram.8mb=8MByte PSRAM +adafruit_feather_rp2350_hstx.menu.psram.8mb.build.psram_length=0x800000 adafruit_feather_rp2350_hstx.menu.opt.Small=Small (-Os) (standard) adafruit_feather_rp2350_hstx.menu.opt.Small.build.flags.optimize=-Os adafruit_feather_rp2350_hstx.menu.opt.Optimize=Optimize (-O) diff --git a/tools/makeboards.py b/tools/makeboards.py index 76a7b3519..7396f61bf 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -342,6 +342,9 @@ def MakeBoard(name, chip, vendor_name, product_name, vid, pid, pwr, boarddefine, BuildPSRAMCS(name) BuildPSRAM(name) BuildPSRAMFreq(name) + elif name == "adafruit_feather_rp2350_hstx": + # Optional, user needs to solder themselves + BuildPSRAM(name) else: BuildFreq(name, 133) BuildOptimize(name)