Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/add_sparkfun_promicro_rp2350' in…
Browse files Browse the repository at this point in the history
…to sfe_rp2350_beta
  • Loading branch information
sfe-SparkFro committed Nov 14, 2024
2 parents ac0beef + 09cbc1b commit 5e6eea2
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Dual-core",
"External Flash",
"External RAM",
"JST-SH",
"RGB LED",
"USB-C"
],
"images": [
"DEV-24870-Pro-Micro-RP2350-Feature.jpg"
],
"mcu": "rp2350",
"product": "Pro Micro RP2350",
"thumbnail": "",
"url": "https://www.sparkfun.com/products/24870",
"vendor": "Sparkfun"
}
4 changes: 4 additions & 0 deletions ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/mpconfigboard.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# cmake file for SparkFun Pro Micro RP2350

set(PICO_BOARD "sparkfun_promicro_rp2350")
set(PICO_PLATFORM "rp2350")
26 changes: 26 additions & 0 deletions ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "SparkFun Pro Micro RP2350"
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)

#define MICROPY_HW_USB_VID (0x1B4F)
#define MICROPY_HW_USB_PID (0x0039)

#define MICROPY_HW_UART0_TX (0)
#define MICROPY_HW_UART0_RX (1)
#define MICROPY_HW_UART0_CTS (2)
#define MICROPY_HW_UART0_RTS (3)

#define MICROPY_HW_UART1_TX (8)
#define MICROPY_HW_UART1_RX (9)
#define MICROPY_HW_UART1_CTS (6)
#define MICROPY_HW_UART1_RTS (7)

#define MICROPY_HW_I2C0_SDA (16)
#define MICROPY_HW_I2C0_SCL (17)

#define MICROPY_HW_SPI0_SCK (22)
#define MICROPY_HW_SPI0_MOSI (23)
#define MICROPY_HW_SPI0_MISO (20)

#define MICROPY_HW_PSRAM_CS_PIN (19)
#define MICROPY_HW_ENABLE_PSRAM (1)
31 changes: 31 additions & 0 deletions ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/pins.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
GP0,GPIO0
GP1,GPIO1
GP2,GPIO2
GP3,GPIO3
GP4,GPIO4
GP5,GPIO5
GP6,GPIO6
GP7,GPIO7
GP8,GPIO8
GP9,GPIO9
GP10,GPIO10
GP11,GPIO11
GP12,GPIO12
GP13,GPIO13
GP14,GPIO14
GP15,GPIO15
GP16,GPIO16
GP17,GPIO17
GP18,GPIO18
GP19,GPIO19
GP20,GPIO20
GP21,GPIO21
GP22,GPIO22
GP25,GPIO25
GP26,GPIO26
GP27,GPIO27
GP28,GPIO28
LED,GPIO25
LED_RGB,GPIO25
RGB_LED,GPIO25
NEOPIXEL,GPIO25

0 comments on commit 5e6eea2

Please sign in to comment.