Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit abd88ac

Browse files
perigosorg-silva
authored andcommitted
jlink_protocol: fixup multi-line comments
1 parent 0b4625f commit abd88ac

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

src/platforms/hosted/jlink_protocol.h

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
* The mapping between the J-Link USB Protocol reference manual commands and the new Black Magic Debug commands is listed at the start of each command group below.
4141
*/
4242

43-
/* System information commands
43+
/*
44+
* System information commands
4445
*
4546
* ┌────────────────────────────────────────────────┬──────────────────────────────────┐
4647
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -58,7 +59,8 @@
5859
#define JLINK_CMD_INFO_GET_PROBE_EXTENDED_CAPABILITIES 0xedU /* Get probe extended capabilities */
5960
#define JLINK_CMD_INFO_GET_MAX_MEM_BLOCK 0xd4U /* Get the maximum memory blocksize */
6061

61-
/* Interface commands
62+
/*
63+
* Interface commands
6264
*
6365
* ┌────────────────────────────────────────┬────────────────────────────────┐
6466
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -74,7 +76,8 @@
7476
#define JLINK_CMD_INTERFACE_SET_SELECTED 0xc7U /* Select the probe interface */
7577
#define JLINK_CMD_INTERFACE_GET 0xc7U /* Get current selected interface or available interfaces */
7678

77-
/* Target power commands
79+
/*
80+
* Target power commands
7881
*
7982
* ┌───────────────────────────────┬────────────────────────────────┐
8083
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -86,7 +89,8 @@
8689
#define JLINK_CMD_POWER_SET_KICKSTART 0x08U /* Set KickStart power state on pin 19 (J-Link 20 pin connector) */
8790
#define JLINK_CMD_POWER_GET_STATE 0xc1U /* Get Kickstart power state and overcurrent timers */
8891

89-
/* Low level hardware commands
92+
/*
93+
* Low level hardware commands
9094
*
9195
* ┌──────────────────────────────┬────────────────────────────────┐
9296
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -116,7 +120,8 @@
116120
#define JLINK_CMD_SIGNAL_CLEAR_TDI 0xcbU /* Clear TDI pin */
117121
#define JLINK_CMD_SIGNAL_SET_TDI 0xccU /* Set TDI pin */
118122

119-
/* Low level IO commands
123+
/*
124+
* Low level IO commands
120125
*
121126
* ┌────────────────────────────────────┬────────────────────────────────────┐
122127
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -138,7 +143,8 @@
138143
#define JLINK_CMD_IO_TRANSACTION_OBSOLETE1 0xcdU /* Obsolete: Send data on TDI and TMS and return TDO */
139144
#define JLINK_CMD_IO_TRANSACTION_OBSOLETE2 0xceU /* Obsolete: Send data on TDI and TMS and return TDO */
140145

141-
/* High level target commands
146+
/*
147+
* High level target commands
142148
*
143149
* ┌─────────────────────────────────────────────┬────────────────────────────────────────────┐
144150
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -166,7 +172,8 @@
166172
#define JLINK_CMD_TARGET_MEASURE_RTCK_REACTION_TIME 0xf6U /* Measure RTCK reaction time of the target device */
167173
#define JLINK_CMD_TARGET_GET_CONNECTION_STATE 0xc2U /* Get target connection timer counters */
168174

169-
/* Configuration commands
175+
/*
176+
* Configuration commands
170177
*
171178
* ┌────────────────────────┬────────────────────────────────┐
172179
* │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │
@@ -201,7 +208,8 @@
201208
#define JLINK_HARDWARE_VERSION_TYPE_JLINKPRO 3U
202209
#define JLINK_HARDWARE_VERSION_TYPE_LPCLINK2 18U
203210

204-
/* J-Link capabilities - JLINK_CMD_INFO_GET_PROBE_CAPABILITIES
211+
/*
212+
* J-Link capabilities - JLINK_CMD_INFO_GET_PROBE_CAPABILITIES
205213
*
206214
* ┌─────┬──────────────────────────────────────────┬────────────────────────────┐
207215
* │ Bit │ BMDA J-Link capability │ §5.3.4 EMU_CMD_GET_CAPS │

0 commit comments

Comments
 (0)