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

Method swoAndRTTCommands

src/bmp.ts:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 }
80
81 public swoAndRTTCommands(): string[]{
82 const commands = [];
83 if (this.args.swoConfig.enabled) {
84 const swocommands = this.SWOConfigurationCommands();
85 commands.push(...swocommands);
86 }
87 return commands;
88 }
89
90 private SWOConfigurationCommands(): string[] {
91 const portMask = '0x' + calculatePortMask(this.args.swoConfig.decoders).toString(16);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected