Skip to content

Commit 2998341

Browse files
Adrian Negreanumbrossard
authored andcommitted
lpc4322 (SWO): define the SWO gpio ports
Signed-off-by: Adrian Negreanu <[email protected]>
1 parent 810aa40 commit 2998341

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/hic_hal/nxp/lpc4322/IO_Config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ COMPILER_ASSERT(DAPLINK_HIC_ID == DAPLINK_HIC_ID_LPC4322);
4242
#define PIN_SWDIO_IN_BIT 9
4343
#define PIN_SWDIO (1<<PIN_SWDIO_IN_BIT)
4444

45+
// SWO Pin P1_14: GPIO1[7]
46+
#define PORT_SWO 1
47+
#define PIN_SWO_IN_BIT 7
48+
#define PIN_SWO (1<<PIN_SWO_IN_BIT)
49+
4550
// SWDIO Output Enable Pin P1_5: GPIO1[8]
4651
#define PORT_SWDIO_TXE 1
4752
#define PIN_SWDIO_TXE_IN_BIT 8

0 commit comments

Comments
 (0)