Skip to content

Commit 10f0a20

Browse files
committed
Default to PiCowbell SD CS pins on Pico boards
1 parent a923c22 commit 10f0a20

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Wippersnapper_Boards.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,19 @@
218218
#define USE_TINYUSB
219219
#define USE_STATUS_LED
220220
#define STATUS_LED_PIN 32
221-
#define SD_CS_PIN 33
221+
#define SD_CS_PIN 17
222222
#elif defined(ARDUINO_RASPBERRY_PI_PICO)
223223
#define BOARD_ID "rpi-pico"
224224
#define USE_TINYUSB
225225
#define USE_STATUS_LED
226226
#define STATUS_LED_PIN LED_BUILTIN
227-
#define SD_CS_PIN 33
227+
#define SD_CS_PIN 17
228228
#elif defined(ARDUINO_RASPBERRY_PI_PICO_2)
229229
#define BOARD_ID "rpi-pico-2"
230230
#define USE_TINYUSB
231231
#define USE_STATUS_LED
232232
#define STATUS_LED_PIN LED_BUILTIN
233-
#define SD_CS_PIN 33
233+
#define SD_CS_PIN 17
234234
#elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER)
235235
#define BOARD_ID "feather-rp2040-adalogger"
236236
#define USE_TINYUSB

src/ws_boards.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,19 @@
208208
#define USE_TINYUSB
209209
#define USE_STATUS_LED
210210
#define STATUS_LED_PIN 32
211-
#define SD_CS_PIN 33
211+
#define SD_CS_PIN 17
212212
#elif defined(ARDUINO_RASPBERRY_PI_PICO)
213213
#define BOARD_ID "rpi-pico"
214214
#define USE_TINYUSB
215215
#define USE_STATUS_LED
216216
#define STATUS_LED_PIN LED_BUILTIN
217-
#define SD_CS_PIN 33
217+
#define SD_CS_PIN 17
218218
#elif defined(ARDUINO_RASPBERRY_PI_PICO_2)
219219
#define BOARD_ID "rpi-pico-2"
220220
#define USE_TINYUSB
221221
#define USE_STATUS_LED
222222
#define STATUS_LED_PIN LED_BUILTIN
223-
#define SD_CS_PIN 33
223+
#define SD_CS_PIN 17
224224
#elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER)
225225
#define BOARD_ID "feather-rp2040-adalogger"
226226
#define USE_TINYUSB

0 commit comments

Comments
 (0)