Skip to content

Commit 878b3c6

Browse files
committed
add(board): Feather RP2350 HSTX
1 parent 95d7a24 commit 878b3c6

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

platformio.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ board = rpipicow
146146
framework = arduino
147147
board_build.core = earlephilhower
148148
board_build.filesystem_size = 0.5m
149-
build_flags = -DUSE_TINYUSB
149+
build_flags = -DUSE_TINYUSB -DBUILD_OFFLINE_ONLY
150150
; Once https://github.com/platformio/platformio-core > 6.1.11 these can be removed
151151
lib_ignore = WiFiNINA, WiFi101, Adafruit Zero DMA Library, WiFiNINA_-_Adafruit_Fork
152152
lib_compat_mode = soft ; can be strict once pio detects SleepyDog on RP2040
@@ -521,6 +521,15 @@ board_build.filesystem_size = 0.5m
521521
build_flags = -DUSE_TINYUSB
522522
; Once https://github.com/platformio/platformio-core > 6.1.11 these can be removed
523523

524+
[env:adafruit_feather_rp2350_hstx]
525+
extends = common:rp2040
526+
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
527+
board = adafruit_feather_rp2350_hstx
528+
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
529+
board_build.filesystem_size = 0.5m
530+
build_flags = -DUSE_TINYUSB
531+
; Once https://github.com/platformio/platformio-core > 6.1.11 these can be removed
532+
524533
[env:adafruit_metro_rp2350]
525534
extends = common:rp2040
526535
platform = https://github.com/brentru/platform-raspberrypi.git#develop

src/Wippersnapper_Boards.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,13 @@
245245
#define STATUS_NEOPIXEL_NUM 1
246246
#define SD_USE_SPI_1
247247
#define SD_CS_PIN 23
248+
#elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2350_HSTX)
249+
#define BOARD_ID "feather-rp2350-hstx"
250+
#define USE_TINYUSB
251+
#define USE_STATUS_NEOPIXEL
252+
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
253+
#define STATUS_NEOPIXEL_NUM 1
254+
#define SD_CS_PIN 1
248255
#elif defined(ARDUINO_ADAFRUIT_METRO_RP2350)
249256
#define BOARD_ID "metro-rp2350"
250257
#define USE_TINYUSB

src/adapters/offline/ws_offline_pico.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#if defined(ARDUINO_RASPBERRY_PI_PICO) || \
2020
defined(ARDUINO_RASPBERRY_PI_PICO_2) || \
2121
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER) || \
22+
defined(ARDUINO_ADAFRUIT_FEATHER_RP2350_HSTX) || \
2223
defined(ARDUINO_ADAFRUIT_METRO_RP2350)
2324

2425
#define PICO_CONNECT_TIMEOUT_MS 20000 /*!< Connection timeout (in ms) */

src/provisioning/tinyusb/Wippersnapper_FS.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
defined(ARDUINO_RASPBERRY_PI_PICO) || \
3131
defined(ARDUINO_RASPBERRY_PI_PICO_2) || \
3232
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER) || \
33+
defined(ARDUINO_ADAFRUIT_FEATHER_RP2350_HSTX) || \
3334
defined(ARDUINO_ADAFRUIT_METRO_RP2350) || \
3435
defined(ARDUINO_RASPBERRY_PI_PICO_2W)
3536
#include "Wippersnapper_FS.h"

src/ws_adapters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ typedef ws_wifi_ninafw ws_adapter_wifi;
5050
#elif defined(ARDUINO_RASPBERRY_PI_PICO_2) || \
5151
defined(ARDUINO_RASPBERRY_PI_PICO) || \
5252
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER) || \
53+
defined(ARDUINO_ADAFRUIT_FEATHER_RP2350_HSTX) || \
5354
defined(ARDUINO_ADAFRUIT_METRO_RP2350)
5455
#define WS_OFFLINE_ADAPTER
5556
#include "adapters/offline/ws_offline_pico.h"

0 commit comments

Comments
 (0)