From a043f65352598e345912ba49d0b1f9c4abb3fa73 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Thu, 9 Dec 2021 23:25:48 -0600 Subject: [PATCH] adding Pykey family of boards --- docs/shared_bindings_matrix.py | 11 +++++++++++ .../boards/jpconstantineau_pykey60/mpconfigboard.h | 2 +- .../boards/jpconstantineau_pykey60/mpconfigboard.mk | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py index 7954e96bfd..0795da6f87 100644 --- a/docs/shared_bindings_matrix.py +++ b/docs/shared_bindings_matrix.py @@ -41,6 +41,11 @@ aliases_by_board = { "pyportal": ["pyportal_pynt"], "gemma_m0": ["gemma_m0_pycon2018"], "pewpew10": ["pewpew13"], + "jpconstantineau_pykey60": [ + "jpconstantineau_pykey18", + "jpconstantineau_pykey44", + "jpconstantineau_pykey87", + ], } aliases_brand_names = { @@ -56,6 +61,12 @@ aliases_brand_names = { "Adafruit Gemma M0 PyCon 2018", "pewpew13": "PewPew 13", + "jpconstantineau_pykey18": + "PyKey 18 Numpad", + "jpconstantineau_pykey44": + "PyKey 44", + "jpconstantineau_pykey87": + "PyKey 87 TKL", } additional_modules = { diff --git a/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.h b/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.h index f96edba2f8..4fc2d4bc14 100644 --- a/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.h +++ b/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.h @@ -1,4 +1,4 @@ -#define MICROPY_HW_BOARD_NAME "PyKey60" +#define MICROPY_HW_BOARD_NAME "PyKey 60" #define MICROPY_HW_MCU_NAME "rp2040" #define MICROPY_HW_NEOPIXEL (&pin_GPIO29) diff --git a/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.mk b/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.mk index 263f7ad3b2..dbefb264cf 100644 --- a/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.mk +++ b/ports/raspberrypi/boards/jpconstantineau_pykey60/mpconfigboard.mk @@ -1,6 +1,6 @@ USB_VID = 0x1d50 USB_PID = 0x6153 -USB_PRODUCT = "Pykey60" +USB_PRODUCT = "PyKey" USB_MANUFACTURER = "JPConstantineau" CHIP_VARIANT = RP2040