MCPcopy Create free account
hub / github.com/Marus/cortex-debug / swoAndRTTCommands

Method swoAndRTTCommands

src/jlink.ts:86–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 public swoAndRTTCommands(): string[] {
87 const commands = [];
88 if (this.args.swoConfig.enabled) {
89 const swocommands = this.SWOConfigurationCommands();
90 commands.push(...swocommands);
91 }
92 return commands.concat(this.rttCommands());
93 }
94
95 private SWOConfigurationCommands(): string[] {
96 const portMask = '0x' + calculatePortMask(this.args.swoConfig.decoders).toString(16);

Callers

nothing calls this directly

Calls 2

rttCommandsMethod · 0.95

Tested by

no test coverage detected