diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index ea1064d65..80a37f6a9 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -29,9 +29,6 @@ jobs: Pico, PicoW, BentoBox, - ergoSHIFTRev2, - FightboardV3, - FightboardV3Mirrored, FlatboxRev4, FlatboxRev5, FlatboxRev5RGB, @@ -51,7 +48,6 @@ jobs: PicoAnn, PicoFightingBoard, PXPGamepad, - RanaTadpole, ReflexCtrlGenesis6, ReflexCtrlNES, ReflexCtrlSaturn, diff --git a/configs/FightboardV3/BoardConfig.h b/configs/FightboardV3/BoardConfig.h deleted file mode 100644 index b484754d3..000000000 --- a/configs/FightboardV3/BoardConfig.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * SPDX-License-Identifier: MIT - * SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info) - */ - -#ifndef PICO_BOARD_CONFIG_H_ -#define PICO_BOARD_CONFIG_H_ - -#include "enums.pb.h" -#include "class/hid/hid.h" - -#define BOARD_CONFIG_LABEL "Fightboard V3" - -// Main pin mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define GPIO_PIN_29 GpioAction::BUTTON_PRESS_UP // UP | UP | UP | UP | UP | UP | -#define GPIO_PIN_27 GpioAction::BUTTON_PRESS_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define GPIO_PIN_26 GpioAction::BUTTON_PRESS_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define GPIO_PIN_28 GpioAction::BUTTON_PRESS_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define GPIO_PIN_05 GpioAction::BUTTON_PRESS_B1 // B1 | A | B | Cross | 2 | K1 | -#define GPIO_PIN_06 GpioAction::BUTTON_PRESS_B2 // B2 | B | A | Circle | 3 | K2 | -#define GPIO_PIN_07 GpioAction::BUTTON_PRESS_R2 // R2 | RT | ZR | R2 | 8 | K3 | -#define GPIO_PIN_08 GpioAction::BUTTON_PRESS_L2 // L2 | LT | ZL | L2 | 7 | K4 | -#define GPIO_PIN_01 GpioAction::BUTTON_PRESS_B3 // B3 | X | Y | Square | 1 | P1 | -#define GPIO_PIN_02 GpioAction::BUTTON_PRESS_B4 // B4 | Y | X | Triangle | 4 | P2 | -#define GPIO_PIN_03 GpioAction::BUTTON_PRESS_R1 // R1 | RB | R | R1 | 6 | P3 | -#define GPIO_PIN_04 GpioAction::BUTTON_PRESS_L1 // L1 | LB | L | L1 | 5 | P4 | -#define GPIO_PIN_10 GpioAction::BUTTON_PRESS_S1 // S1 | Back | Minus | Select | 9 | Coin | -#define GPIO_PIN_12 GpioAction::BUTTON_PRESS_S2 // S2 | Start | Plus | Start | 10 | Start | -#define GPIO_PIN_09 GpioAction::BUTTON_PRESS_L3 // L3 | LS | LS | L3 | 11 | LS | -#define GPIO_PIN_13 GpioAction::BUTTON_PRESS_R3 // R3 | RS | RS | R3 | 12 | RS | -#define GPIO_PIN_11 GpioAction::BUTTON_PRESS_A1 // A1 | Guide | Home | PS | 13 | ~ | -#define GPIO_PIN_17 GpioAction::BUTTON_PRESS_A2 // A2 | ~ | Capture | ~ | 14 | ~ | - -// Setting GPIO pins to assigned by add-on -// -#define GPIO_PIN_00 GpioAction::ASSIGNED_TO_ADDON -#define GPIO_PIN_14 GpioAction::ASSIGNED_TO_ADDON -#define GPIO_PIN_15 GpioAction::ASSIGNED_TO_ADDON - -// Keyboard Mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define KEY_DPAD_UP HID_KEY_ARROW_UP // UP | UP | UP | UP | UP | UP | -#define KEY_DPAD_DOWN HID_KEY_ARROW_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define KEY_DPAD_RIGHT HID_KEY_ARROW_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define KEY_DPAD_LEFT HID_KEY_ARROW_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define KEY_BUTTON_B1 HID_KEY_SHIFT_LEFT // B1 | A | B | Cross | 2 | K1 | -#define KEY_BUTTON_B2 HID_KEY_Z // B2 | B | A | Circle | 3 | K2 | -#define KEY_BUTTON_R2 HID_KEY_X // R2 | RT | ZR | R2 | 8 | K3 | -#define KEY_BUTTON_L2 HID_KEY_V // L2 | LT | ZL | L2 | 7 | K4 | -#define KEY_BUTTON_B3 HID_KEY_CONTROL_LEFT // B3 | X | Y | Square | 1 | P1 | -#define KEY_BUTTON_B4 HID_KEY_ALT_LEFT // B4 | Y | X | Triangle | 4 | P2 | -#define KEY_BUTTON_R1 HID_KEY_SPACE // R1 | RB | R | R1 | 6 | P3 | -#define KEY_BUTTON_L1 HID_KEY_C // L1 | LB | L | L1 | 5 | P4 | -#define KEY_BUTTON_S1 HID_KEY_5 // S1 | Back | Minus | Select | 9 | Coin | -#define KEY_BUTTON_S2 HID_KEY_1 // S2 | Start | Plus | Start | 10 | Start | -#define KEY_BUTTON_L3 HID_KEY_EQUAL // L3 | LS | LS | L3 | 11 | LS | -#define KEY_BUTTON_R3 HID_KEY_MINUS // R3 | RS | RS | R3 | 12 | RS | -#define KEY_BUTTON_A1 HID_KEY_9 // A1 | Guide | Home | PS | 13 | ~ | -#define KEY_BUTTON_A2 HID_KEY_F2 // A2 | ~ | Capture | ~ | 14 | ~ | -#define KEY_BUTTON_FN -1 // Hotkey Function | - -#define BOARD_LEDS_PIN 0 - -#define LED_BRIGHTNESS_MAXIMUM 50 -#define LED_BRIGHTNESS_STEPS 5 -#define LEDS_PER_PIXEL 1 - -#define LEDS_DPAD_LEFT 10 -#define LEDS_DPAD_DOWN 9 -#define LEDS_DPAD_RIGHT 8 -#define LEDS_DPAD_UP 11 -#define LEDS_BUTTON_B3 0 -#define LEDS_BUTTON_B4 1 -#define LEDS_BUTTON_R1 2 -#define LEDS_BUTTON_L1 3 -#define LEDS_BUTTON_B1 7 -#define LEDS_BUTTON_B2 6 -#define LEDS_BUTTON_R2 5 -#define LEDS_BUTTON_L2 4 - -#define HAS_I2C_DISPLAY 1 -#define I2C1_ENABLED 1 -#define I2C1_PIN_SDA 14 -#define I2C1_PIN_SCL 15 -#define DISPLAY_I2C_BLOCK i2c1 - -#define BUTTON_LAYOUT BUTTON_LAYOUT_FIGHTBOARD_STICK -#define BUTTON_LAYOUT_RIGHT BUTTON_LAYOUT_FIGHTBOARD - -#define LEDS_BASE_ANIMATION_INDEX 3 -#define LEDS_THEME_INDEX 19 -#define LEDS_BUTTON_COLOR_INDEX 0 -#define LEDS_BRIGHTNESS 2 - -#endif \ No newline at end of file diff --git a/configs/FightboardV3/README.md b/configs/FightboardV3/README.md deleted file mode 100644 index 21b4392c7..000000000 --- a/configs/FightboardV3/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# GP2040 Configuration for the Fightboard v3 - -![Pin Mapping](assets/FightboardV3.jpg) - -This configuration is for the Fightboard v3 using the Waveshare RP2040 Zero. - -## Main Pin Mapping Configuration - -| RP2040 Pin | Action | GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -|------------|-------------------------------|--------|--------|--------|----------|--------|--------| -| GPIO_PIN_29| GpioAction::BUTTON_PRESS_UP | UP | UP | UP | UP | UP | UP | -| GPIO_PIN_27| GpioAction::BUTTON_PRESS_DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -| GPIO_PIN_26| GpioAction::BUTTON_PRESS_RIGHT| RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -| GPIO_PIN_28| GpioAction::BUTTON_PRESS_LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -| GPIO_PIN_05| GpioAction::BUTTON_PRESS_B1 | B1 | A | B | Cross | 2 | K1 | -| GPIO_PIN_06| GpioAction::BUTTON_PRESS_B2 | B2 | B | A | Circle | 3 | K2 | -| GPIO_PIN_07| GpioAction::BUTTON_PRESS_R2 | R2 | RT | ZR | R2 | 8 | K3 | -| GPIO_PIN_08| GpioAction::BUTTON_PRESS_L2 | L2 | LT | ZL | L2 | 7 | K4 | -| GPIO_PIN_01| GpioAction::BUTTON_PRESS_B3 | B3 | X | Y | Square | 1 | P1 | -| GPIO_PIN_02| GpioAction::BUTTON_PRESS_B4 | B4 | Y | X | Triangle | 4 | P2 | -| GPIO_PIN_03| GpioAction::BUTTON_PRESS_R1 | R1 | RB | R | R1 | 6 | P3 | -| GPIO_PIN_04| GpioAction::BUTTON_PRESS_L1 | L1 | LB | L | L1 | 5 | P4 | -| GPIO_PIN_10| GpioAction::BUTTON_PRESS_S1 | S1 | Back | Minus | Select | 9 | Coin | -| GPIO_PIN_12| GpioAction::BUTTON_PRESS_S2 | S2 | Start | Plus | Start | 10 | Start | -| GPIO_PIN_09| GpioAction::BUTTON_PRESS_L3 | L3 | LS | LS | L3 | 11 | LS | -| GPIO_PIN_13| GpioAction::BUTTON_PRESS_R3 | R3 | RS | RS | R3 | 12 | RS | -| GPIO_PIN_11| GpioAction::BUTTON_PRESS_A1 | A1 | Guide | Home | PS | 13 | ~ | -| GPIO_PIN_17| GpioAction::BUTTON_PRESS_A2 | A2 | ~ | Capture| ~ | 14 | ~ | \ No newline at end of file diff --git a/configs/FightboardV3/assets/FightboardV3.jpg b/configs/FightboardV3/assets/FightboardV3.jpg deleted file mode 100644 index 880fa74a1..000000000 Binary files a/configs/FightboardV3/assets/FightboardV3.jpg and /dev/null differ diff --git a/configs/FightboardV3Mirrored/BoardConfig.h b/configs/FightboardV3Mirrored/BoardConfig.h deleted file mode 100644 index 6e2e9efd3..000000000 --- a/configs/FightboardV3Mirrored/BoardConfig.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * SPDX-License-Identifier: MIT - * SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info) - */ - -#ifndef PICO_BOARD_CONFIG_H_ -#define PICO_BOARD_CONFIG_H_ - -#include "enums.pb.h" -#include "class/hid/hid.h" - -#define BOARD_CONFIG_LABEL "Fightboard V3 Mirrored" - -// Main pin mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define GPIO_PIN_00 GpioAction::BUTTON_PRESS_UP // UP | UP | UP | UP | UP | UP | -#define GPIO_PIN_02 GpioAction::BUTTON_PRESS_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define GPIO_PIN_03 GpioAction::BUTTON_PRESS_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define GPIO_PIN_01 GpioAction::BUTTON_PRESS_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define GPIO_PIN_09 GpioAction::BUTTON_PRESS_B1 // B1 | A | B | Cross | 2 | K1 | -#define GPIO_PIN_12 GpioAction::BUTTON_PRESS_B2 // B2 | B | A | Circle | 3 | K2 | -#define GPIO_PIN_13 GpioAction::BUTTON_PRESS_R2 // R2 | RT | ZR | R2 | 8 | K3 | -#define GPIO_PIN_14 GpioAction::BUTTON_PRESS_L2 // L2 | LT | ZL | L2 | 7 | K4 | -#define GPIO_PIN_15 GpioAction::BUTTON_PRESS_B3 // B3 | X | Y | Square | 1 | P1 | -#define GPIO_PIN_28 GpioAction::BUTTON_PRESS_B4 // B4 | Y | X | Triangle | 4 | P2 | -#define GPIO_PIN_27 GpioAction::BUTTON_PRESS_R1 // R1 | RB | R | R1 | 6 | P3 | -#define GPIO_PIN_26 GpioAction::BUTTON_PRESS_L1 // L1 | LB | L | L1 | 5 | P4 | -#define GPIO_PIN_07 GpioAction::BUTTON_PRESS_S1 // S1 | Back | Minus | Select | 9 | Coin | -#define GPIO_PIN_05 GpioAction::BUTTON_PRESS_S2 // S2 | Start | Plus | Start | 10 | Start | -#define GPIO_PIN_08 GpioAction::BUTTON_PRESS_L3 // L3 | LS | LS | L3 | 11 | LS | -#define GPIO_PIN_04 GpioAction::BUTTON_PRESS_R3 // R3 | RS | RS | R3 | 12 | RS | -#define GPIO_PIN_06 GpioAction::BUTTON_PRESS_A1 // A1 | Guide | Home | PS | 13 | ~ | -#define GPIO_PIN_17 GpioAction::BUTTON_PRESS_A2 // A2 | ~ | Capture | ~ | 14 | ~ | - -// Setting GPIO pins to assigned by add-on -// -#define GPIO_PIN_10 GpioAction::ASSIGNED_TO_ADDON -#define GPIO_PIN_11 GpioAction::ASSIGNED_TO_ADDON -#define GPIO_PIN_29 GpioAction::ASSIGNED_TO_ADDON - -// Keyboard Mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define KEY_DPAD_UP HID_KEY_ARROW_UP // UP | UP | UP | UP | UP | UP | -#define KEY_DPAD_DOWN HID_KEY_ARROW_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define KEY_DPAD_RIGHT HID_KEY_ARROW_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define KEY_DPAD_LEFT HID_KEY_ARROW_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define KEY_BUTTON_B1 HID_KEY_SHIFT_LEFT // B1 | A | B | Cross | 2 | K1 | -#define KEY_BUTTON_B2 HID_KEY_Z // B2 | B | A | Circle | 3 | K2 | -#define KEY_BUTTON_R2 HID_KEY_X // R2 | RT | ZR | R2 | 8 | K3 | -#define KEY_BUTTON_L2 HID_KEY_V // L2 | LT | ZL | L2 | 7 | K4 | -#define KEY_BUTTON_B3 HID_KEY_CONTROL_LEFT // B3 | X | Y | Square | 1 | P1 | -#define KEY_BUTTON_B4 HID_KEY_ALT_LEFT // B4 | Y | X | Triangle | 4 | P2 | -#define KEY_BUTTON_R1 HID_KEY_SPACE // R1 | RB | R | R1 | 6 | P3 | -#define KEY_BUTTON_L1 HID_KEY_C // L1 | LB | L | L1 | 5 | P4 | -#define KEY_BUTTON_S1 HID_KEY_5 // S1 | Back | Minus | Select | 9 | Coin | -#define KEY_BUTTON_S2 HID_KEY_1 // S2 | Start | Plus | Start | 10 | Start | -#define KEY_BUTTON_L3 HID_KEY_EQUAL // L3 | LS | LS | L3 | 11 | LS | -#define KEY_BUTTON_R3 HID_KEY_MINUS // R3 | RS | RS | R3 | 12 | RS | -#define KEY_BUTTON_A1 HID_KEY_9 // A1 | Guide | Home | PS | 13 | ~ | -#define KEY_BUTTON_A2 HID_KEY_F2 // A2 | ~ | Capture | ~ | 14 | ~ | -#define KEY_BUTTON_FN -1 // Hotkey Function | - -#define BOARD_LEDS_PIN 29 - -#define LED_BRIGHTNESS_MAXIMUM 50 -#define LED_BRIGHTNESS_STEPS 5 -#define LEDS_PER_PIXEL 1 -#define LEDS_BASE_ANIMATION_INDEX 3 -#define LEDS_THEME_INDEX 19 -#define LEDS_BUTTON_COLOR_INDEX 0 -#define LEDS_BRIGHTNESS 2 - -#define LEDS_DPAD_LEFT 10 -#define LEDS_DPAD_DOWN 9 -#define LEDS_DPAD_RIGHT 8 -#define LEDS_DPAD_UP 11 -#define LEDS_BUTTON_B3 0 -#define LEDS_BUTTON_B4 1 -#define LEDS_BUTTON_R1 2 -#define LEDS_BUTTON_L1 3 -#define LEDS_BUTTON_B1 7 -#define LEDS_BUTTON_B2 6 -#define LEDS_BUTTON_R2 5 -#define LEDS_BUTTON_L2 4 - -#define HAS_I2C_DISPLAY 1 -#define I2C1_ENABLED 1 -#define I2C1_PIN_SDA 10 -#define I2C1_PIN_SCL 11 -#define DISPLAY_I2C_BLOCK i2c1 - -#define BUTTON_LAYOUT BUTTON_LAYOUT_FIGHTBOARD_MIRRORED -#define BUTTON_LAYOUT_RIGHT BUTTON_LAYOUT_FIGHTBOARD_STICK_MIRRORED - -#endif \ No newline at end of file diff --git a/configs/FightboardV3Mirrored/README.md b/configs/FightboardV3Mirrored/README.md deleted file mode 100644 index 10aecdc23..000000000 --- a/configs/FightboardV3Mirrored/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# GP2040 Configuration for the mirrored Fightboard v3 - -![Pin Mapping](assets/FightboardV3Mirrored.jpg) - -This configuration is for the mirrored version of the Fightboard v3 using the Waveshare RP2040 Zero. - -## Main Pin Mapping Configuration - -| RP2040 Pin | Action | GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -|------------|-------------------------------|--------|--------|--------|----------|--------|--------| -| GPIO_PIN_00| GpioAction::BUTTON_PRESS_UP | UP | UP | UP | UP | UP | UP | -| GPIO_PIN_02| GpioAction::BUTTON_PRESS_DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -| GPIO_PIN_03| GpioAction::BUTTON_PRESS_RIGHT| RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -| GPIO_PIN_01| GpioAction::BUTTON_PRESS_LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -| GPIO_PIN_09| GpioAction::BUTTON_PRESS_B1 | B1 | A | B | Cross | 2 | K1 | -| GPIO_PIN_12| GpioAction::BUTTON_PRESS_B2 | B2 | B | A | Circle | 3 | K2 | -| GPIO_PIN_13| GpioAction::BUTTON_PRESS_R2 | R2 | RT | ZR | R2 | 8 | K3 | -| GPIO_PIN_14| GpioAction::BUTTON_PRESS_L2 | L2 | LT | ZL | L2 | 7 | K4 | -| GPIO_PIN_15| GpioAction::BUTTON_PRESS_B3 | B3 | X | Y | Square | 1 | P1 | -| GPIO_PIN_28| GpioAction::BUTTON_PRESS_B4 | B4 | Y | X | Triangle | 4 | P2 | -| GPIO_PIN_27| GpioAction::BUTTON_PRESS_R1 | R1 | RB | R | R1 | 6 | P3 | -| GPIO_PIN_26| GpioAction::BUTTON_PRESS_L1 | L1 | LB | L | L1 | 5 | P4 | -| GPIO_PIN_07| GpioAction::BUTTON_PRESS_S1 | S1 | Back | Minus | Select | 9 | Coin | -| GPIO_PIN_05| GpioAction::BUTTON_PRESS_S2 | S2 | Start | Plus | Start | 10 | Start | -| GPIO_PIN_08| GpioAction::BUTTON_PRESS_L3 | L3 | LS | LS | L3 | 11 | LS | -| GPIO_PIN_04| GpioAction::BUTTON_PRESS_R3 | R3 | RS | RS | R3 | 12 | RS | -| GPIO_PIN_06| GpioAction::BUTTON_PRESS_A1 | A1 | Guide | Home | PS | 13 | ~ | -| GPIO_PIN_17| GpioAction::BUTTON_PRESS_A2 | A2 | ~ | Capture| ~ | 14 | ~ | \ No newline at end of file diff --git a/configs/FightboardV3Mirrored/assets/FightboardV3Mirrored.jpg b/configs/FightboardV3Mirrored/assets/FightboardV3Mirrored.jpg deleted file mode 100644 index 34fd9b4be..000000000 Binary files a/configs/FightboardV3Mirrored/assets/FightboardV3Mirrored.jpg and /dev/null differ diff --git a/configs/RanaTadpole/BoardConfig.h b/configs/RanaTadpole/BoardConfig.h deleted file mode 100644 index 1f7c7480f..000000000 --- a/configs/RanaTadpole/BoardConfig.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * SPDX-License-Identifier: MIT - * SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info) - */ - -#ifndef PICO_BOARD_CONFIG_H_ -#define PICO_BOARD_CONFIG_H_ - -#include "enums.pb.h" -#include "class/hid/hid.h" - -#define BOARD_CONFIG_LABEL "Rana Tadpole" - -// Main pin mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define GPIO_PIN_00 GpioAction::BUTTON_PRESS_UP // UP | UP | UP | UP | UP | UP | -#define GPIO_PIN_03 GpioAction::BUTTON_PRESS_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define GPIO_PIN_02 GpioAction::BUTTON_PRESS_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define GPIO_PIN_04 GpioAction::BUTTON_PRESS_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define GPIO_PIN_26 GpioAction::BUTTON_PRESS_B1 // B1 | A | B | Cross | 2 | K1 | -#define GPIO_PIN_21 GpioAction::BUTTON_PRESS_B2 // B2 | B | A | Circle | 3 | K2 | -#define GPIO_PIN_19 GpioAction::BUTTON_PRESS_R2 // R2 | RT | ZR | R2 | 8 | K3 | -#define GPIO_PIN_17 GpioAction::BUTTON_PRESS_L2 // L2 | LT | ZL | L2 | 7 | K4 | -#define GPIO_PIN_27 GpioAction::BUTTON_PRESS_B3 // B3 | X | Y | Square | 1 | P1 | -#define GPIO_PIN_22 GpioAction::BUTTON_PRESS_B4 // B4 | Y | X | Triangle | 4 | P2 | -#define GPIO_PIN_20 GpioAction::BUTTON_PRESS_R1 // R1 | RB | R | R1 | 6 | P3 | -#define GPIO_PIN_18 GpioAction::BUTTON_PRESS_L1 // L1 | LB | L | L1 | 5 | P4 | -#define GPIO_PIN_07 GpioAction::BUTTON_PRESS_S1 // S1 | Back | Minus | Select | 9 | Coin | -#define GPIO_PIN_06 GpioAction::BUTTON_PRESS_S2 // S2 | Start | Plus | Start | 10 | Start | -#define GPIO_PIN_15 GpioAction::BUTTON_PRESS_L3 // L3 | LS | LS | L3 | 11 | LS | -#define GPIO_PIN_16 GpioAction::BUTTON_PRESS_R3 // R3 | RS | RS | R3 | 12 | RS | -#define GPIO_PIN_13 GpioAction::BUTTON_PRESS_A1 // A1 | Guide | Home | PS | 13 | ~ | -#define GPIO_PIN_12 GpioAction::BUTTON_PRESS_A2 // A2 | ~ | Capture | ~ | 14 | ~ | -#define GPIO_PIN_14 GpioAction::BUTTON_PRESS_FN // Hotkey Function | - -// Keyboard Mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define KEY_DPAD_UP HID_KEY_ARROW_UP // UP | UP | UP | UP | UP | UP | -#define KEY_DPAD_DOWN HID_KEY_ARROW_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define KEY_DPAD_RIGHT HID_KEY_ARROW_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define KEY_DPAD_LEFT HID_KEY_ARROW_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define KEY_BUTTON_B1 HID_KEY_SHIFT_LEFT // B1 | A | B | Cross | 2 | K1 | -#define KEY_BUTTON_B2 HID_KEY_Z // B2 | B | A | Circle | 3 | K2 | -#define KEY_BUTTON_R2 HID_KEY_X // R2 | RT | ZR | R2 | 8 | K3 | -#define KEY_BUTTON_L2 HID_KEY_V // L2 | LT | ZL | L2 | 7 | K4 | -#define KEY_BUTTON_B3 HID_KEY_CONTROL_LEFT // B3 | X | Y | Square | 1 | P1 | -#define KEY_BUTTON_B4 HID_KEY_ALT_LEFT // B4 | Y | X | Triangle | 4 | P2 | -#define KEY_BUTTON_R1 HID_KEY_SPACE // R1 | RB | R | R1 | 6 | P3 | -#define KEY_BUTTON_L1 HID_KEY_C // L1 | LB | L | L1 | 5 | P4 | -#define KEY_BUTTON_S1 HID_KEY_5 // S1 | Back | Minus | Select | 9 | Coin | -#define KEY_BUTTON_S2 HID_KEY_1 // S2 | Start | Plus | Start | 10 | Start | -#define KEY_BUTTON_L3 HID_KEY_EQUAL // L3 | LS | LS | L3 | 11 | LS | -#define KEY_BUTTON_R3 HID_KEY_MINUS // R3 | RS | RS | R3 | 12 | RS | -#define KEY_BUTTON_A1 HID_KEY_9 // A1 | Guide | Home | PS | 13 | ~ | -#define KEY_BUTTON_A2 HID_KEY_F2 // A2 | ~ | Capture | ~ | 14 | ~ | -#define KEY_BUTTON_FN -1 // Hotkey Function | - -#define GPIO_PIN_05 GpioAction::BUTTON_PRESS_L3 - -#endif \ No newline at end of file diff --git a/configs/RanaTadpole/README.md b/configs/RanaTadpole/README.md deleted file mode 100644 index d8761a51f..000000000 --- a/configs/RanaTadpole/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# GP2040 Configuration for the Rana Tadpole - -![Rana Tadpole 1](assets/RanaTadpole1.jpg) -![Rana Tadpole 2](assets/RanaTadpole2.jpg) - -Basic button setup for the Rana Tadpole. - -![Buttons](assets/RanaTadpole_buttons.png) - -GitHub repo for the Tadpole: - - -## Main Pin Mapping Configuration - -| RP2040 Pin | Action | GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -|------------|-------------------------------|--------|--------|--------|----------|--------|--------| -| GPIO_PIN_00| GpioAction::BUTTON_PRESS_UP | UP | UP | UP | UP | UP | UP | -| GPIO_PIN_03| GpioAction::BUTTON_PRESS_DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -| GPIO_PIN_02| GpioAction::BUTTON_PRESS_RIGHT| RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -| GPIO_PIN_04| GpioAction::BUTTON_PRESS_LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -| GPIO_PIN_26| GpioAction::BUTTON_PRESS_B1 | B1 | A | B | Cross | 2 | K1 | -| GPIO_PIN_21| GpioAction::BUTTON_PRESS_B2 | B2 | B | A | Circle | 3 | K2 | -| GPIO_PIN_19| GpioAction::BUTTON_PRESS_R2 | R2 | RT | ZR | R2 | 8 | K3 | -| GPIO_PIN_17| GpioAction::BUTTON_PRESS_L2 | L2 | LT | ZL | L2 | 7 | K4 | -| GPIO_PIN_27| GpioAction::BUTTON_PRESS_B3 | B3 | X | Y | Square | 1 | P1 | -| GPIO_PIN_22| GpioAction::BUTTON_PRESS_B4 | B4 | Y | X | Triangle| 4 | P2 | -| GPIO_PIN_20| GpioAction::BUTTON_PRESS_R1 | R1 | RB | R | R1 | 6 | P3 | -| GPIO_PIN_18| GpioAction::BUTTON_PRESS_L1 | L1 | LB | L | L1 | 5 | P4 | -| GPIO_PIN_07| GpioAction::BUTTON_PRESS_S1 | S1 | Back | Minus | Select | 9 | Coin | -| GPIO_PIN_06| GpioAction::BUTTON_PRESS_S2 | S2 | Start | Plus | Start | 10 | Start | -| GPIO_PIN_15| GpioAction::BUTTON_PRESS_L3 | L3 | LS | LS | L3 | 11 | LS | -| GPIO_PIN_16| GpioAction::BUTTON_PRESS_R3 | R3 | RS | RS | R3 | 12 | RS | -| GPIO_PIN_13| GpioAction::BUTTON_PRESS_A1 | A1 | Guide | Home | PS | 13 | ~ | -| GPIO_PIN_12| GpioAction::BUTTON_PRESS_A2 | A2 | ~ | Capture | ~ | 14 | ~ | -| GPIO_PIN_14| GpioAction::BUTTON_PRESS_FN | Hotkey Function | \ No newline at end of file diff --git a/configs/RanaTadpole/RanaTadpole.h b/configs/RanaTadpole/RanaTadpole.h deleted file mode 100644 index 9aa060705..000000000 --- a/configs/RanaTadpole/RanaTadpole.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -// ----------------------------------------------------- -// NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO -// SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES -// ----------------------------------------------------- - - -#ifndef _BOARDS_RANATADPOLE_H -#define _BOARDS_RANATADPOLE_H - -// For board detection -#define RANATADPOLE - -//For crappy crystal -#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER -#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64 -#endif - -// no onboard LED - -// no PICO_DEFAULT_WS2812_PIN - -// --- FLASH --- -#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1 - -#ifndef PICO_FLASH_SPI_CLKDIV -#define PICO_FLASH_SPI_CLKDIV 2 -#endif - -#ifndef PICO_FLASH_SIZE_BYTES -#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024) -#endif - -// Drive high to force power supply into PWM mode (lower ripple on 3V3 at light loads) -#define PICO_SMPS_MODE_PIN 23 - -#ifndef PICO_RP2040_B0_SUPPORTED -#define PICO_RP2040_B0_SUPPORTED 1 -#endif - -#endif diff --git a/configs/RanaTadpole/assets/RanaTadpole1.jpg b/configs/RanaTadpole/assets/RanaTadpole1.jpg deleted file mode 100644 index aa096cb1a..000000000 Binary files a/configs/RanaTadpole/assets/RanaTadpole1.jpg and /dev/null differ diff --git a/configs/RanaTadpole/assets/RanaTadpole2.jpg b/configs/RanaTadpole/assets/RanaTadpole2.jpg deleted file mode 100644 index 42f5f053c..000000000 Binary files a/configs/RanaTadpole/assets/RanaTadpole2.jpg and /dev/null differ diff --git a/configs/RanaTadpole/assets/RanaTadpole_buttons.png b/configs/RanaTadpole/assets/RanaTadpole_buttons.png deleted file mode 100644 index eded53fae..000000000 Binary files a/configs/RanaTadpole/assets/RanaTadpole_buttons.png and /dev/null differ diff --git a/configs/ergoSHIFTRev2/BoardConfig.h b/configs/ergoSHIFTRev2/BoardConfig.h deleted file mode 100644 index 2ab02d433..000000000 --- a/configs/ergoSHIFTRev2/BoardConfig.h +++ /dev/null @@ -1,149 +0,0 @@ -/* - * SPDX-License-Identifier: MIT - * SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info) - */ - -#ifndef PICO_BOARD_CONFIG_H_ -#define PICO_BOARD_CONFIG_H_ - -#include "enums.pb.h" -#include "class/hid/hid.h" - -#define BOARD_CONFIG_LABEL "ergoSHIFT Rev.2" - -// Main pin mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define GPIO_PIN_12 GpioAction::BUTTON_PRESS_UP // UP | UP | UP | UP | UP | UP | -#define GPIO_PIN_09 GpioAction::BUTTON_PRESS_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define GPIO_PIN_11 GpioAction::BUTTON_PRESS_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define GPIO_PIN_06 GpioAction::BUTTON_PRESS_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define GPIO_PIN_18 GpioAction::BUTTON_PRESS_B1 // B1 | A | B | Cross | 2 | K1 | -#define GPIO_PIN_19 GpioAction::BUTTON_PRESS_B2 // B2 | B | A | Circle | 3 | K2 | -#define GPIO_PIN_23 GpioAction::BUTTON_PRESS_R2 // R2 | RT | ZR | R2 | 8 | K3 | -#define GPIO_PIN_16 GpioAction::BUTTON_PRESS_L2 // L2 | LT | ZL | L2 | 7 | K4 | -#define GPIO_PIN_20 GpioAction::BUTTON_PRESS_B3 // B3 | X | Y | Square | 1 | P1 | -#define GPIO_PIN_25 GpioAction::BUTTON_PRESS_B4 // B4 | Y | X | Triangle | 4 | P2 | -#define GPIO_PIN_26 GpioAction::BUTTON_PRESS_R1 // R1 | RB | R | R1 | 6 | P3 | -#define GPIO_PIN_24 GpioAction::BUTTON_PRESS_L1 // L1 | LB | L | L1 | 5 | P4 | -#define GPIO_PIN_27 GpioAction::BUTTON_PRESS_S1 // S1 | Back | Minus | Select | 9 | Coin | -#define GPIO_PIN_00 GpioAction::BUTTON_PRESS_S2 // S2 | Start | Plus | Start | 10 | Start | -#define GPIO_PIN_10 GpioAction::BUTTON_PRESS_L3 // L3 | LS | LS | L3 | 11 | LS | -#define GPIO_PIN_17 GpioAction::BUTTON_PRESS_R3 // R3 | RS | RS | R3 | 12 | RS | -#define GPIO_PIN_02 GpioAction::BUTTON_PRESS_A1 // A1 | Guide | Home | PS | 13 | ~ | -#define GPIO_PIN_01 GpioAction::BUTTON_PRESS_A2 // A2 | ~ | Capture | ~ | 14 | ~ | - -// Setting GPIO pins to assigned by add-on -// -#define GPIO_PIN_04 GpioAction::ASSIGNED_TO_ADDON -#define GPIO_PIN_05 GpioAction::ASSIGNED_TO_ADDON - -// Keyboard Mapping Configuration -// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -#define KEY_DPAD_UP HID_KEY_ARROW_UP // UP | UP | UP | UP | UP | UP | -#define KEY_DPAD_DOWN HID_KEY_ARROW_DOWN // DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -#define KEY_DPAD_RIGHT HID_KEY_ARROW_RIGHT // RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -#define KEY_DPAD_LEFT HID_KEY_ARROW_LEFT // LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -#define KEY_BUTTON_B1 HID_KEY_SHIFT_LEFT // B1 | A | B | Cross | 2 | K1 | -#define KEY_BUTTON_B2 HID_KEY_Z // B2 | B | A | Circle | 3 | K2 | -#define KEY_BUTTON_R2 HID_KEY_X // R2 | RT | ZR | R2 | 8 | K3 | -#define KEY_BUTTON_L2 HID_KEY_V // L2 | LT | ZL | L2 | 7 | K4 | -#define KEY_BUTTON_B3 HID_KEY_CONTROL_LEFT // B3 | X | Y | Square | 1 | P1 | -#define KEY_BUTTON_B4 HID_KEY_ALT_LEFT // B4 | Y | X | Triangle | 4 | P2 | -#define KEY_BUTTON_R1 HID_KEY_SPACE // R1 | RB | R | R1 | 6 | P3 | -#define KEY_BUTTON_L1 HID_KEY_C // L1 | LB | L | L1 | 5 | P4 | -#define KEY_BUTTON_S1 HID_KEY_5 // S1 | Back | Minus | Select | 9 | Coin | -#define KEY_BUTTON_S2 HID_KEY_1 // S2 | Start | Plus | Start | 10 | Start | -#define KEY_BUTTON_L3 HID_KEY_EQUAL // L3 | LS | LS | L3 | 11 | LS | -#define KEY_BUTTON_R3 HID_KEY_MINUS // R3 | RS | RS | R3 | 12 | RS | -#define KEY_BUTTON_A1 HID_KEY_9 // A1 | Guide | Home | PS | 13 | ~ | -#define KEY_BUTTON_A2 HID_KEY_F2 // A2 | ~ | Capture | ~ | 14 | ~ | -#define KEY_BUTTON_FN -1 // Hotkey Function | - -#define HAS_I2C_DISPLAY 1 -#define I2C0_ENABLED 1 -#define I2C0_PIN_SDA 4 -#define I2C0_PIN_SCL 5 -#define DISPLAY_I2C_BLOCK i2c0 -#define DISPLAY_FLIP 0 -#define DISPLAY_INVERT 0 - -#define BUTTON_LAYOUT BUTTON_LAYOUT_STICKLESS -#define BUTTON_LAYOUT_RIGHT BUTTON_LAYOUT_STICKLESSB -#define SPLASH_MODE SPLASH_MODE_STATIC -#define SPLASH_DURATION 7500 - -/** - * Made with Marlin Bitmap Converter - * https://marlinfw.org/tools/u8glib/converter.html - * - * This bitmap from the file 'ErgoSHIFT-logo-128x64.bmp' - */ - -#define DEFAULT_SPLASH \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x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, \ -0xFF,0xFF,0x39,0xFF,0xFF,0xFC,0x00,0x00,0x00,0xFF,0x80,0x00,0x00,0x07,0xFF,0xFF, \ -0xFE,0xFC,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0xFF,0xE0,0x00,0x00,0x0F,0xFF,0xFF, \ -0xFE,0x01,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0xFF,0xF0,0x00,0x00,0x1F,0xFF,0xFF, \ -0xFF,0x3F,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0xFF,0xFC,0x00,0x00,0x3F,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x01,0xFF,0xFF,0x80,0x00,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0x00,0x00,0x03,0xFF,0xFF,0xF8,0x07,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x80,0x00,0x0F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, \ -0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF - - -#endif diff --git a/configs/ergoSHIFTRev2/README.md b/configs/ergoSHIFTRev2/README.md deleted file mode 100644 index c4eb87b66..000000000 --- a/configs/ergoSHIFTRev2/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# GP2040 Configuration for the ergoSHIFT Rev.2 - -![ergoSHIFT Rev.2](./assets/ergoSHIFT-rev2-bare1.jpg) - -Configuration for the [ergoSHIFT Rev.2](https://github.com/mizma/ergoSHIFT/tree/main/hardware-rev2), a 4+11 button lever-less -arcade controller designed by [mizma](https://github.com/mizma/). - -## Button mapping - -![ergoSHIFT Rev.2 button mapping](./assets/ergoSHIFT-rev2-button-mapping.jpg) - -## Main Pin Mapping Configuration - -| RP2040 Pin | Action | GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade | -|------------|-------------------------------|--------|--------|--------|----------|--------|--------| -| GPIO_PIN_12| GpioAction::BUTTON_PRESS_UP | UP | UP | UP | UP | UP | UP | -| GPIO_PIN_09| GpioAction::BUTTON_PRESS_DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | DOWN | -| GPIO_PIN_11| GpioAction::BUTTON_PRESS_RIGHT| RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | RIGHT | -| GPIO_PIN_06| GpioAction::BUTTON_PRESS_LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | LEFT | -| GPIO_PIN_18| GpioAction::BUTTON_PRESS_B1 | B1 | A | B | Cross | 2 | K1 | -| GPIO_PIN_19| GpioAction::BUTTON_PRESS_B2 | B2 | B | A | Circle | 3 | K2 | -| GPIO_PIN_23| GpioAction::BUTTON_PRESS_R2 | R2 | RT | ZR | R2 | 8 | K3 | -| GPIO_PIN_16| GpioAction::BUTTON_PRESS_L2 | L2 | LT | ZL | L2 | 7 | K4 | -| GPIO_PIN_20| GpioAction::BUTTON_PRESS_B3 | B3 | X | Y | Square | 1 | P1 | -| GPIO_PIN_25| GpioAction::BUTTON_PRESS_B4 | B4 | Y | X | Triangle | 4 | P2 | -| GPIO_PIN_26| GpioAction::BUTTON_PRESS_R1 | R1 | RB | R | R1 | 6 | P3 | -| GPIO_PIN_24| GpioAction::BUTTON_PRESS_L1 | L1 | LB | L | L1 | 5 | P4 | -| GPIO_PIN_27| GpioAction::BUTTON_PRESS_S1 | S1 | Back | Minus | Select | 9 | Coin | -| GPIO_PIN_00| GpioAction::BUTTON_PRESS_S2 | S2 | Start | Plus | Start | 10 | Start | -| GPIO_PIN_10| GpioAction::BUTTON_PRESS_L3 | L3 | LS | LS | L3 | 11 | LS | -| GPIO_PIN_17| GpioAction::BUTTON_PRESS_R3 | R3 | RS | RS | R3 | 12 | RS | -| GPIO_PIN_02| GpioAction::BUTTON_PRESS_A1 | A1 | Guide | Home | PS | 13 | ~ | -| GPIO_PIN_01| GpioAction::BUTTON_PRESS_A2 | A2 | ~ | Capture| ~ | 14 | ~ | \ No newline at end of file diff --git a/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-bare1.jpg b/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-bare1.jpg deleted file mode 100644 index d4da41c53..000000000 Binary files a/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-bare1.jpg and /dev/null differ diff --git a/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-button-mapping.jpg b/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-button-mapping.jpg deleted file mode 100644 index c88b727d5..000000000 Binary files a/configs/ergoSHIFTRev2/assets/ergoSHIFT-rev2-button-mapping.jpg and /dev/null differ diff --git a/configs/ergoSHIFTRev2/ergoshiftrev2.h b/configs/ergoSHIFTRev2/ergoshiftrev2.h deleted file mode 100644 index 4d0eac646..000000000 --- a/configs/ergoSHIFTRev2/ergoshiftrev2.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -// ----------------------------------------------------- -// NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO -// SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES -// ----------------------------------------------------- - -#ifndef _BOARDS_ERGOSHIFTREV2_H -#define _BOARDS_ERGOSHIFTREV2_H - -// For board detection -#define ERGOSHIFTREV2 - -// For crappy crystal -#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER -#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64 -#endif - -#endif \ No newline at end of file