Skip to content

Commit

Permalink
Remove SPCE connector defines and revert default SPI to the same as p…
Browse files Browse the repository at this point in the history
…ico2_w
  • Loading branch information
gonzalolarralde authored Nov 25, 2024
1 parent 4df44bf commit 78aa331
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/boards/include/boards/pimoroni_pico_plus2_w_rp2350.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
#define PIMORONI_PICO_PLUS2_W_RP2350

// --- BOARD SPECIFIC ---
#define SPCE_SPI 0
#define SPCE_TX_MISO_PIN 32
#define SPCE_RX_CS_PIN 33
#define SPCE_NETLIGHT_SCK_PIN 34
#define SPCE_RESET_MOSI_PIN 35
#define SPCE_PWRKEY_BL_PIN 36

#define PIMORONI_PICO_PLUS2_W_USER_SW_PIN 45
#define PIMORONI_PICO_PLUS2_W_PSRAM_CS_PIN 47

Expand Down Expand Up @@ -62,16 +55,16 @@
#define PICO_DEFAULT_SPI 0
#endif
#ifndef PICO_DEFAULT_SPI_SCK_PIN
#define PICO_DEFAULT_SPI_SCK_PIN SPCE_NETLIGHT_SCK_PIN
#define PICO_DEFAULT_SPI_SCK_PIN 18
#endif
#ifndef PICO_DEFAULT_SPI_TX_PIN
#define PICO_DEFAULT_SPI_TX_PIN SPCE_RESET_MOSI_PIN
#define PICO_DEFAULT_SPI_TX_PIN 19
#endif
#ifndef PICO_DEFAULT_SPI_RX_PIN
#define PICO_DEFAULT_SPI_RX_PIN SPCE_TX_MISO_PIN
#define PICO_DEFAULT_SPI_RX_PIN 16
#endif
#ifndef PICO_DEFAULT_SPI_CSN_PIN
#define PICO_DEFAULT_SPI_CSN_PIN SPCE_RX_CS_PIN
#define PICO_DEFAULT_SPI_CSN_PIN 17
#endif

// --- FLASH ---
Expand Down

0 comments on commit 78aa331

Please sign in to comment.