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

Method swoAndRTTCommands

src/pyocd.ts:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected