File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8
8
extern "C" unsigned int PINCOUNT_fn ();
9
9
#endif
10
10
#define PINS_COUNT (PINCOUNT_fn())
11
- #define NUM_DIGITAL_PINS (22u )
11
+ #define NUM_DIGITAL_PINS (20u )
12
12
#define NUM_ANALOG_INPUTS (6u)
13
13
#define NUM_ANALOG_OUTPUTS (1u)
14
14
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ extern "C" const PinMuxCfg_t g_pin_cfg[] = {
48
48
{ BSP_IO_PORT_05_PIN_00, P500 }, /* (20) Analog voltage measure pin */
49
49
{ BSP_IO_PORT_00_PIN_12, P012 }, /* (21) TX LED */
50
50
{ BSP_IO_PORT_00_PIN_13, P013 }, /* (22) RX LED */
51
+
52
+ { BSP_IO_PORT_05_PIN_01, P501 }, /* (23) TX on SWD connector */
53
+ { BSP_IO_PORT_05_PIN_02, P502 }, /* (24) RX on SWD connector */
54
+ { BSP_IO_PORT_01_PIN_08, P108 }, /* (25) SWDIO */
55
+ { BSP_IO_PORT_03_PIN_00, P300 }, /* (26) SWCLK */
51
56
};
52
57
53
58
extern " C" {
Original file line number Diff line number Diff line change 8
8
extern "C" unsigned int PINCOUNT_fn ();
9
9
#endif
10
10
#define PINS_COUNT (PINCOUNT_fn())
11
- #define NUM_DIGITAL_PINS (22u )
11
+ #define NUM_DIGITAL_PINS (20u )
12
12
#define NUM_ANALOG_INPUTS (6u)
13
13
#define NUM_ANALOG_OUTPUTS (1u)
14
14
You can’t perform that action at this time.
0 commit comments