From c422ca3da19767f83e038f16c62c875aebaed516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierson?= Date: Wed, 27 Oct 2021 10:16:55 +0200 Subject: [PATCH] rp2/boards: Add PYBSTICK26 RP2040 board definition. --- .../GARATRONIC_PYBSTICK26_RP2040/board.json | 22 +++++++++++++++++++ .../mpconfigboard.cmake | 1 + .../mpconfigboard.h | 3 +++ 3 files changed, 26 insertions(+) create mode 100644 ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/board.json create mode 100644 ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.cmake create mode 100644 ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.h diff --git a/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/board.json b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/board.json new file mode 100644 index 0000000000..1b9e113143 --- /dev/null +++ b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/board.json @@ -0,0 +1,22 @@ +{ + "deploy": [ + "../deploy.md" + ], + "docs": "", + "features": [ + "USB Stick form factor", + "Breadboard Friendly", + "Reset/User button", + "Red/green/orange/blue leds", + "1MB SPI Flash", + "USB-A" + ], + "images": [ + "pybstick-rp2040-26-broches-micropython-c.jpg" + ], + "mcu": "rp2040", + "product": "PYBSTICK26 RP2040", + "thumbnail": "", + "url": "https://shop.mchobby.be/product.php?id_product=2331", + "vendor": "McHobby" +} diff --git a/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.cmake b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.cmake new file mode 100644 index 0000000000..11fcb3d087 --- /dev/null +++ b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.cmake @@ -0,0 +1 @@ +# cmake file diff --git a/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.h b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.h new file mode 100644 index 0000000000..4c7153569b --- /dev/null +++ b/ports/rp2/boards/GARATRONIC_PYBSTICK26_RP2040/mpconfigboard.h @@ -0,0 +1,3 @@ +// Board and hardware specific configuration +#define MICROPY_HW_BOARD_NAME "GARATRONIC_PYBSTICK26_RP2040" +#define MICROPY_HW_FLASH_STORAGE_BYTES (384 * 1024)