From 6a1c5cf28aab4b9487cce69c6ce1e5cfd9662374 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 18 Nov 2024 16:57:42 +0000 Subject: [PATCH] PPP2 and Plasma2350: SPICE to SPCE. As per discussion on https://github.com/adafruit/circuitpython/pull/9803 Change "SPICE" to "SPCE" for consistency. Signed-off-by: Phil Howard --- .../boards/pimoroni_pico_plus2_rp2350.h | 20 +++++++++---------- .../include/boards/pimoroni_plasma2350.h | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/boards/include/boards/pimoroni_pico_plus2_rp2350.h b/src/boards/include/boards/pimoroni_pico_plus2_rp2350.h index 13328f308..006e6c476 100644 --- a/src/boards/include/boards/pimoroni_pico_plus2_rp2350.h +++ b/src/boards/include/boards/pimoroni_pico_plus2_rp2350.h @@ -20,12 +20,12 @@ #define PIMORONI_PICO_PLUS2_RP2350 // --- BOARD SPECIFIC --- -#define SPICE_SPI 0 -#define SPICE_TX_MISO_PIN 32 -#define SPICE_RX_CS_PIN 33 -#define SPICE_NETLIGHT_SCK_PIN 34 -#define SPICE_RESET_MOSI_PIN 35 -#define SPICE_PWRKEY_BL_PIN 36 +#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_USER_SW_PIN 45 #define PIMORONI_PICO_PLUS2_PSRAM_CS_PIN 47 @@ -63,16 +63,16 @@ #define PICO_DEFAULT_SPI 0 #endif #ifndef PICO_DEFAULT_SPI_SCK_PIN -#define PICO_DEFAULT_SPI_SCK_PIN SPICE_NETLIGHT_SCK_PIN +#define PICO_DEFAULT_SPI_SCK_PIN SPCE_NETLIGHT_SCK_PIN #endif #ifndef PICO_DEFAULT_SPI_TX_PIN -#define PICO_DEFAULT_SPI_TX_PIN SPICE_RESET_MOSI_PIN +#define PICO_DEFAULT_SPI_TX_PIN SPCE_RESET_MOSI_PIN #endif #ifndef PICO_DEFAULT_SPI_RX_PIN -#define PICO_DEFAULT_SPI_RX_PIN SPICE_TX_MISO_PIN +#define PICO_DEFAULT_SPI_RX_PIN SPCE_TX_MISO_PIN #endif #ifndef PICO_DEFAULT_SPI_CSN_PIN -#define PICO_DEFAULT_SPI_CSN_PIN SPICE_RX_CS_PIN +#define PICO_DEFAULT_SPI_CSN_PIN SPCE_RX_CS_PIN #endif // --- FLASH --- diff --git a/src/boards/include/boards/pimoroni_plasma2350.h b/src/boards/include/boards/pimoroni_plasma2350.h index 8604f023d..4ee4d8984 100644 --- a/src/boards/include/boards/pimoroni_plasma2350.h +++ b/src/boards/include/boards/pimoroni_plasma2350.h @@ -20,12 +20,12 @@ #define PIMORONI_PLASMA2350 // --- BOARD SPECIFIC --- -#define SPICE_SPI 0 -#define SPICE_TX_MISO_PIN 8 -#define SPICE_RX_CS_PIN 9 -#define SPICE_NETLIGHT_SCK_PIN 10 -#define SPICE_RESET_MOSI_PIN 11 -#define SPICE_PWRKEY_BL_PIN 7 +#define SPCE_SPI 0 +#define SPCE_TX_MISO_PIN 8 +#define SPCE_RX_CS_PIN 9 +#define SPCE_NETLIGHT_SCK_PIN 10 +#define SPCE_RESET_MOSI_PIN 11 +#define SPCE_PWRKEY_BL_PIN 7 #define PLASMA2350_SW_A_PIN 12 @@ -85,16 +85,16 @@ #define PICO_DEFAULT_SPI 1 #endif #ifndef PICO_DEFAULT_SPI_SCK_PIN -#define PICO_DEFAULT_SPI_SCK_PIN SPICE_NETLIGHT_SCK_PIN +#define PICO_DEFAULT_SPI_SCK_PIN SPCE_NETLIGHT_SCK_PIN #endif #ifndef PICO_DEFAULT_SPI_TX_PIN -#define PICO_DEFAULT_SPI_TX_PIN SPICE_RESET_MOSI_PIN +#define PICO_DEFAULT_SPI_TX_PIN SPCE_RESET_MOSI_PIN #endif #ifndef PICO_DEFAULT_SPI_RX_PIN -#define PICO_DEFAULT_SPI_RX_PIN SPICE_TX_MISO_PIN +#define PICO_DEFAULT_SPI_RX_PIN SPCE_TX_MISO_PIN #endif #ifndef PICO_DEFAULT_SPI_CSN_PIN -#define PICO_DEFAULT_SPI_CSN_PIN SPICE_RX_CS_PIN +#define PICO_DEFAULT_SPI_CSN_PIN SPCE_RX_CS_PIN #endif // --- FLASH ---