diff --git a/variants/MINIMA/pins_arduino.h b/variants/MINIMA/pins_arduino.h index a0b29ae2..c8c08f80 100644 --- a/variants/MINIMA/pins_arduino.h +++ b/variants/MINIMA/pins_arduino.h @@ -8,7 +8,7 @@ extern "C" unsigned int PINCOUNT_fn(); #endif #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 43e79b67..bba81fd0 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" { diff --git a/variants/UNOWIFIR4/pins_arduino.h b/variants/UNOWIFIR4/pins_arduino.h index 6ebd498d..755b642b 100644 --- a/variants/UNOWIFIR4/pins_arduino.h +++ b/variants/UNOWIFIR4/pins_arduino.h @@ -8,7 +8,7 @@ extern "C" unsigned int PINCOUNT_fn(); #endif #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)