diff --git a/variants/MINIMA/pins_arduino.h b/variants/MINIMA/pins_arduino.h index 0f1bc16d7..df4330dee 100644 --- a/variants/MINIMA/pins_arduino.h +++ b/variants/MINIMA/pins_arduino.h @@ -5,7 +5,7 @@ // Pin count // ---- #define PINS_COUNT (PINCOUNT_fn()) -#define NUM_DIGITAL_PINS (22u) +#define NUM_DIGITAL_PINS (20u) #define NUM_ANALOG_INPUTS (6u) #define NUM_ANALOG_OUTPUTS (1u) diff --git a/variants/MINIMA/variant.cpp b/variants/MINIMA/variant.cpp index 6e2f01898..a1a209813 100644 --- a/variants/MINIMA/variant.cpp +++ b/variants/MINIMA/variant.cpp @@ -48,6 +48,11 @@ extern "C" const PinMuxCfg_t g_pin_cfg[] = { { BSP_IO_PORT_05_PIN_00, P500 }, /* (20) Analog voltage measure pin */ { BSP_IO_PORT_00_PIN_12, P012 }, /* (21) TX LED */ { BSP_IO_PORT_00_PIN_13, P013 }, /* (22) RX LED */ + + { BSP_IO_PORT_05_PIN_01, P501 }, /* (23) TX on SWD connector */ + { BSP_IO_PORT_05_PIN_02, P502 }, /* (24) RX on SWD connector */ + { BSP_IO_PORT_01_PIN_08, P108 }, /* (25) SWDIO */ + { BSP_IO_PORT_03_PIN_00, P300 }, /* (26) SWCLK */ }; extern "C" const size_t g_pin_cfg_size = sizeof(g_pin_cfg); diff --git a/variants/UNOWIFIR4/pins_arduino.h b/variants/UNOWIFIR4/pins_arduino.h index 70eebe526..50d887f9b 100644 --- a/variants/UNOWIFIR4/pins_arduino.h +++ b/variants/UNOWIFIR4/pins_arduino.h @@ -5,7 +5,7 @@ // Pin count // ---- #define PINS_COUNT (PINCOUNT_fn()) -#define NUM_DIGITAL_PINS (22u) +#define NUM_DIGITAL_PINS (20u) #define NUM_ANALOG_INPUTS (6u) #define NUM_ANALOG_OUTPUTS (1u)