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

Method swoAndRTTCommands

src/stutil.ts:61–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 public swoAndRTTCommands(): string[] {
62 const commands = [];
63 if (this.args.swoConfig.enabled && this.args.swoConfig.source !== 'probe') {
64 const swocommands = this.SWOConfigurationCommands();
65 commands.push(...swocommands);
66 }
67 return commands;
68 }
69
70 private SWOConfigurationCommands(): string[] {
71 const portMask = '0x' + calculatePortMask(this.args.swoConfig.decoders).toString(16);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected