Skip to content

Commit

Permalink
unor4 minima: add extra pins on SWD connector
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Aug 25, 2023
1 parent 80a8317 commit 3b5c7ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions variants/MINIMA/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b5c7ef

Please sign in to comment.