Skip to content

Commit 7362592

Browse files
committed
Fix tyeth issue
1 parent 14fe05a commit 7362592

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ board_build.filesystem = littlefs
165165
[env:featheresp32s2]
166166
extends = common:esp32
167167
board = featheresp32-s2
168-
build_flags = -DARDUINO_ADAFRUIT_FEATHER_ESP32S2 -DBOARD_HAS_PSRAM
168+
build_flags = -DARDUINO_ADAFRUIT_FEATHER_ESP32S2 -DBOARD_HAS_PSRAM -DBUILD_OFFLINE_ONLY
169169
board_build.partitions = tinyuf2-partitions-4MB-noota.csv
170170
;board_build.partitions = tinyuf2-partitions-4MB.csv
171171
;build_type = debug

src/Wippersnapper_Boards.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@
4747
#define STATUS_DOTSTAR_NUM 5 ///< Number of DotStar LEDs
4848
#define STATUS_DOTSTAR_COLOR_ORDER DOTSTAR_GBR ///< DotStar Color Order
4949
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
50-
#define SD_CS_PIN 33
50+
#define SD_CS_PIN 10
5151
#elif defined(ARDUINO_METRO_ESP32S2)
5252
#define BOARD_ID "metroesp32s2"
5353
#define USE_TINYUSB
5454
#define USE_STATUS_NEOPIXEL
5555
#define STATUS_NEOPIXEL_PIN 45
5656
#define STATUS_NEOPIXEL_NUM 1
5757
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
58-
#define SD_CS_PIN 33
58+
#define SD_CS_PIN 10
5959
#elif defined(ARDUINO_METRO_ESP32S3)
6060
#define BOARD_ID "metroesp32s3"
6161
#define USE_TINYUSB
@@ -71,15 +71,15 @@
7171
#define STATUS_NEOPIXEL_PIN 1
7272
#define STATUS_NEOPIXEL_NUM 4
7373
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
74-
#define SD_CS_PIN 33
74+
#define SD_CS_PIN 10
7575
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
7676
#define BOARD_ID "feather-esp32s2"
7777
#define USE_TINYUSB
7878
#define USE_STATUS_NEOPIXEL
7979
#define STATUS_NEOPIXEL_PIN 33
8080
#define STATUS_NEOPIXEL_NUM 1
8181
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
82-
#define SD_CS_PIN 33
82+
#define SD_CS_PIN 10
8383
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_TFT)
8484
#define BOARD_ID "feather-esp32s2-tft"
8585
#define USE_TINYUSB
@@ -88,15 +88,15 @@
8888
#define STATUS_NEOPIXEL_NUM 1
8989
#define PIN_I2C_POWER_INVERTED 7
9090
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
91-
#define SD_CS_PIN 33
91+
#define SD_CS_PIN 10
9292
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_REVTFT)
9393
#define BOARD_ID "feather-esp32s2-reverse-tft"
9494
#define USE_TINYUSB
9595
#define USE_STATUS_NEOPIXEL
9696
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
9797
#define STATUS_NEOPIXEL_NUM NEOPIXEL_NUM
9898
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
99-
#define SD_CS_PIN 33
99+
#define SD_CS_PIN 10
100100
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM)
101101
#define BOARD_ID "feather-esp32s3"
102102
#define USE_TINYUSB
@@ -136,7 +136,7 @@
136136
#define STATUS_NEOPIXEL_NUM 1
137137
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
138138
#define I2c_STEMMA_WIRE1
139-
#define SD_CS_PIN 33
139+
#define SD_CS_PIN 10
140140
#elif defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM)
141141
#define BOARD_ID "qtpy-esp32s3"
142142
#define USE_TINYUSB

src/Wippersnapper_demo.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Adafruit IO WipperSnapper
2-
// USE ONLY WITH DEVICES WITHOUT A NETWORK ADAPTER LIKE RP2040 PICO
32
//
43
// Adafruit invests time and resources providing this open source code.
54
// Please support Adafruit and open source hardware by purchasing
65
// products from Adafruit!
76
//
8-
// Brent Rubell for Adafruit Industries, 2025
7+
// Brent Rubell for Adafruit Industries, 2020-2025
98
//
109
// All text above must be included in any redistribution.
1110

1211
#include "ws_adapters.h"
13-
ws_adapter_offline wipper;
12+
ws_adapter_wifi wipper;
13+
1414
#define WS_DEBUG // Enable debug output!
1515

1616
void setup() {

src/ws_boards.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#define STATUS_NEOPIXEL_PIN 33
8080
#define STATUS_NEOPIXEL_NUM 1
8181
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
82-
#define SD_CS_PIN 33
82+
#define SD_CS_PIN 10
8383
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_TFT)
8484
#define BOARD_ID "feather-esp32s2-tft"
8585
#define USE_TINYUSB

0 commit comments

Comments
 (0)