Skip to content

Commit

Permalink
ports/rp2/boards/SPARKFUN_THINGPLUS_RP2350: Update mpconfigboard.h
Browse files Browse the repository at this point in the history
Better pin definitions

Signed-off-by: Dryw Wade <[email protected]>
  • Loading branch information
sfe-SparkFro authored Nov 14, 2024
1 parent 563bc40 commit 38c6c67
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions ports/rp2/boards/SPARKFUN_THINGPLUS_RP2350/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,31 @@
#define MICROPY_HW_USB_VID (0x1B4F)
#define MICROPY_HW_USB_PID (0x0038)

#define MICROPY_HW_I2C0_SDA (6)
#define MICROPY_HW_I2C0_SCL (7)
#define MICROPY_HW_I2C0_SDA (20)
#define MICROPY_HW_I2C0_SCL (21)

#define MICROPY_HW_SPI1_SCK (2)
#define MICROPY_HW_SPI1_MOSI (3)
#define MICROPY_HW_SPI1_MISO (3)
#define MICROPY_HW_I2C1_SDA (6)
#define MICROPY_HW_I2C1_SCL (7)

#define MICROPY_HW_SPI0_SCK (2)
#define MICROPY_HW_SPI0_MOSI (3)
#define MICROPY_HW_SPI0_MISO (4)

#define MICROPY_HW_SPI1_SCK (26)
#define MICROPY_HW_SPI1_MOSI (27)
#define MICROPY_HW_SPI1_MISO (28)

#define MICROPY_HW_UART0_TX (0)
#define MICROPY_HW_UART0_RX (1)
#define MICROPY_HW_UART0_CTS (18)
#define MICROPY_HW_UART0_RTS (19)

#define MICROPY_HW_UART1_TX (4)
#define MICROPY_HW_UART1_RX (5)
#define MICROPY_HW_UART1_CTS (6)
#define MICROPY_HW_UART1_RTS (7)

#define MICROPY_HW_PSRAM_CS_PIN (8)
#define MICROPY_HW_ENABLE_PSRAM (1)

#include "enable_cyw43.h"
#include "enable_cyw43.h"

0 comments on commit 38c6c67

Please sign in to comment.