Skip to content

Commit 7ceca31

Browse files
authored
PPP2 and Plasma2350: SPICE to SPCE. (#2048)
As per discussion on adafruit/circuitpython#9803 Change "SPICE" to "SPCE" for consistency. Signed-off-by: Phil Howard <[email protected]>
1 parent d6e3fa0 commit 7ceca31

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/boards/include/boards/pimoroni_pico_plus2_rp2350.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#define PIMORONI_PICO_PLUS2_RP2350
2121

2222
// --- BOARD SPECIFIC ---
23-
#define SPICE_SPI 0
24-
#define SPICE_TX_MISO_PIN 32
25-
#define SPICE_RX_CS_PIN 33
26-
#define SPICE_NETLIGHT_SCK_PIN 34
27-
#define SPICE_RESET_MOSI_PIN 35
28-
#define SPICE_PWRKEY_BL_PIN 36
23+
#define SPCE_SPI 0
24+
#define SPCE_TX_MISO_PIN 32
25+
#define SPCE_RX_CS_PIN 33
26+
#define SPCE_NETLIGHT_SCK_PIN 34
27+
#define SPCE_RESET_MOSI_PIN 35
28+
#define SPCE_PWRKEY_BL_PIN 36
2929

3030
#define PIMORONI_PICO_PLUS2_USER_SW_PIN 45
3131
#define PIMORONI_PICO_PLUS2_PSRAM_CS_PIN 47
@@ -63,16 +63,16 @@
6363
#define PICO_DEFAULT_SPI 0
6464
#endif
6565
#ifndef PICO_DEFAULT_SPI_SCK_PIN
66-
#define PICO_DEFAULT_SPI_SCK_PIN SPICE_NETLIGHT_SCK_PIN
66+
#define PICO_DEFAULT_SPI_SCK_PIN SPCE_NETLIGHT_SCK_PIN
6767
#endif
6868
#ifndef PICO_DEFAULT_SPI_TX_PIN
69-
#define PICO_DEFAULT_SPI_TX_PIN SPICE_RESET_MOSI_PIN
69+
#define PICO_DEFAULT_SPI_TX_PIN SPCE_RESET_MOSI_PIN
7070
#endif
7171
#ifndef PICO_DEFAULT_SPI_RX_PIN
72-
#define PICO_DEFAULT_SPI_RX_PIN SPICE_TX_MISO_PIN
72+
#define PICO_DEFAULT_SPI_RX_PIN SPCE_TX_MISO_PIN
7373
#endif
7474
#ifndef PICO_DEFAULT_SPI_CSN_PIN
75-
#define PICO_DEFAULT_SPI_CSN_PIN SPICE_RX_CS_PIN
75+
#define PICO_DEFAULT_SPI_CSN_PIN SPCE_RX_CS_PIN
7676
#endif
7777

7878
// --- FLASH ---

src/boards/include/boards/pimoroni_plasma2350.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#define PIMORONI_PLASMA2350
2121

2222
// --- BOARD SPECIFIC ---
23-
#define SPICE_SPI 0
24-
#define SPICE_TX_MISO_PIN 8
25-
#define SPICE_RX_CS_PIN 9
26-
#define SPICE_NETLIGHT_SCK_PIN 10
27-
#define SPICE_RESET_MOSI_PIN 11
28-
#define SPICE_PWRKEY_BL_PIN 7
23+
#define SPCE_SPI 0
24+
#define SPCE_TX_MISO_PIN 8
25+
#define SPCE_RX_CS_PIN 9
26+
#define SPCE_NETLIGHT_SCK_PIN 10
27+
#define SPCE_RESET_MOSI_PIN 11
28+
#define SPCE_PWRKEY_BL_PIN 7
2929

3030
#define PLASMA2350_SW_A_PIN 12
3131

@@ -85,16 +85,16 @@
8585
#define PICO_DEFAULT_SPI 1
8686
#endif
8787
#ifndef PICO_DEFAULT_SPI_SCK_PIN
88-
#define PICO_DEFAULT_SPI_SCK_PIN SPICE_NETLIGHT_SCK_PIN
88+
#define PICO_DEFAULT_SPI_SCK_PIN SPCE_NETLIGHT_SCK_PIN
8989
#endif
9090
#ifndef PICO_DEFAULT_SPI_TX_PIN
91-
#define PICO_DEFAULT_SPI_TX_PIN SPICE_RESET_MOSI_PIN
91+
#define PICO_DEFAULT_SPI_TX_PIN SPCE_RESET_MOSI_PIN
9292
#endif
9393
#ifndef PICO_DEFAULT_SPI_RX_PIN
94-
#define PICO_DEFAULT_SPI_RX_PIN SPICE_TX_MISO_PIN
94+
#define PICO_DEFAULT_SPI_RX_PIN SPCE_TX_MISO_PIN
9595
#endif
9696
#ifndef PICO_DEFAULT_SPI_CSN_PIN
97-
#define PICO_DEFAULT_SPI_CSN_PIN SPICE_RX_CS_PIN
97+
#define PICO_DEFAULT_SPI_CSN_PIN SPCE_RX_CS_PIN
9898
#endif
9999

100100
// --- FLASH ---

0 commit comments

Comments
 (0)