Browse Source

ports/rp2/boards/ADAFRUIT_KB2040: Add Adafruit KB2040 board.

pull/9859/head
qpucka 2 years ago
parent
commit
04fd86d3ab
  1. 23
      ports/rp2/boards/ADAFRUIT_KB2040/board.json
  2. 2
      ports/rp2/boards/ADAFRUIT_KB2040/mpconfigboard.cmake
  3. 11
      ports/rp2/boards/ADAFRUIT_KB2040/mpconfigboard.h

23
ports/rp2/boards/ADAFRUIT_KB2040/board.json

@ -0,0 +1,23 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Breadboard Friendly",
"Castellated Pads",
"RGB LED",
"SPI Flash",
"STEMMA QT/QWIIC",
"USB-C",
"Pink"
],
"images": [
"5302-12.jpg"
],
"mcu": "rp2040",
"product": "KB2040",
"thumbnail": "",
"url": "https://www.adafruit.com/product/5302",
"vendor": "Adafruit"
}

2
ports/rp2/boards/ADAFRUIT_KB2040/mpconfigboard.cmake

@ -0,0 +1,2 @@
# cmake file for Adafruit KB2040

11
ports/rp2/boards/ADAFRUIT_KB2040/mpconfigboard.h

@ -0,0 +1,11 @@
// https://www.adafruit.com/product/5302
// https://learn.adafruit.com/adafruit-kb2040/pinouts
#define MICROPY_HW_BOARD_NAME "Adafruit KB2040"
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
#define MICROPY_HW_USB_VID (0x239A)
#define MICROPY_HW_USB_PID (0x8106)
// Boot Button GPIO11
// Neopixel data GPIO17
Loading…
Cancel
Save