correct some status LED pin defns per #5161

This commit is contained in:
Dan Halbert 2021-08-17 09:33:34 -04:00
parent 162954a1ad
commit 064e086570
4 changed files with 9 additions and 13 deletions

View File

@ -29,8 +29,8 @@
#define MICROPY_HW_BOARD_NAME "Adafruit FunHouse" #define MICROPY_HW_BOARD_NAME "Adafruit FunHouse"
#define MICROPY_HW_MCU_NAME "ESP32S2" #define MICROPY_HW_MCU_NAME "ESP32S2"
#define MICROPY_HW_APA_MOSI (&pin_GPIO14) #define MICROPY_HW_APA102_MOSI (&pin_GPIO14)
#define MICROPY_HW_APA_SCK (&pin_GPIO15) #define MICROPY_HW_APA102_SCK (&pin_GPIO15)
#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0) #define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)

View File

@ -28,7 +28,7 @@
#define MICROPY_HW_BOARD_NAME "microS2" #define MICROPY_HW_BOARD_NAME "microS2"
#define MICROPY_HW_MCU_NAME "ESP32S2" #define MICROPY_HW_MCU_NAME "ESP32S2"
#define MICROPY_HW_LED (&pin_GPIO21) #define MICROPY_HW_LED_STATUS (&pin_GPIO21)
#define MICROPY_HW_BUTTON (&pin_GPIO0) #define MICROPY_HW_BUTTON (&pin_GPIO0)
#define MICROPY_HW_NEOPIXEL (&pin_GPIO33) #define MICROPY_HW_NEOPIXEL (&pin_GPIO33)

View File

@ -30,11 +30,9 @@
#define MICROPY_HW_BOARD_NAME "Particle Argon" #define MICROPY_HW_BOARD_NAME "Particle Argon"
#define MICROPY_HW_MCU_NAME "nRF52840" #define MICROPY_HW_MCU_NAME "nRF52840"
#define MICROPY_HW_LED_STATUS (&pin_P1_12) #define CIRCUITPY_RGB_STATUS_R (&pin_P0_13)
#define CIRCUITPY_RGB_STATUS_G (&pin_P0_14)
#define MICROPY_HW_RGB_LED_RED (&pin_P0_13) #define CIRCUITPY_RGB_STATUS_B (&pin_P0_15)
#define MICROPY_HW_RGB_LED_GREEN (&pin_P0_14)
#define MICROPY_HW_RGB_LED_BLUE (&pin_P0_15)
#if QSPI_FLASH_FILESYSTEM #if QSPI_FLASH_FILESYSTEM
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 20) #define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 20)

View File

@ -30,11 +30,9 @@
#define MICROPY_HW_BOARD_NAME "Particle Boron" #define MICROPY_HW_BOARD_NAME "Particle Boron"
#define MICROPY_HW_MCU_NAME "nRF52840" #define MICROPY_HW_MCU_NAME "nRF52840"
#define MICROPY_HW_LED_STATUS (&pin_P1_12) #define CIRCUITPY_RGB_STATUS_R (&pin_P0_13)
#define CIRCUITPY_RGB_STATUS_G (&pin_P0_14)
#define MICROPY_HW_RGB_LED_RED (&pin_P0_13) #define CIRCUITPY_RGB_STATUS_B (&pin_P0_15)
#define MICROPY_HW_RGB_LED_GREEN (&pin_P0_14)
#define MICROPY_HW_RGB_LED_BLUE (&pin_P0_15)
#if QSPI_FLASH_FILESYSTEM #if QSPI_FLASH_FILESYSTEM
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 20) #define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 20)