Skip to content

Commit

Permalink
Merge pull request #1052 from minuteos/feat/bmp-usb-swo
Browse files Browse the repository at this point in the history
undefined
  • Loading branch information
haneefdm authored Jan 12, 2025
2 parents 8210ae4 + 10dfac8 commit 767476a
Show file tree
Hide file tree
Showing 16 changed files with 772 additions and 165 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
out
/node_modules
/webview/node_modules
/binary_modules/*/node_modules
/binary_modules/**/node_modules
*.vsix
.vscode-test
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ tsconfig.json
vsc-extension-quickstart.md
webpack.config.js
node_modules
binary_modules/electron*
binary_modules

!node_modules/@vscode/webview-ui-toolkit
55 changes: 54 additions & 1 deletion binary_modules/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion binary_modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"electron-rebuild": "^3.2.8"
},
"dependencies": {
"serialport": "^10.4.0"
"serialport": "^10.4.0",
"usb": "^2.14.0"
}
}
4 changes: 2 additions & 2 deletions debug_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ If the type is marked as `{...}` it means that it is a complex item can have mul
| swoConfig<br>.enabled | boolean | Both | Enable SWO decoding. |
| swoConfig<br>.source | string | Both | Source for SWO data. Can either be "probe" to get directly from debug probe, or a serial port device to use a serial port external to the debug probe. |
| swoConfig<br>.swoFrequency | number | Both | SWO frequency in Hz. |
| swoConfig<br>.swoPath | string | Both | Path name when source is "file" or "serial". Typically a /path-name or a serial-port-name |
| swoConfig<br>.swoPort | string | Both | When server is "external" && source is "socket", port to connect to. Format [host:]port |
| swoConfig<br>.swoPath | string | Both | Path name when source is "file" or "serial", device name regex match when source is "probe" for BMP. Typically a /path-name or a serial-port-name |
| swoConfig<br>.swoPort | string | Both | When server is "external" && source is "socket", port to connect to. Format [host:]port. For BMP, specifies the regex match of the USB interface contianing raw SWO data. |
| symbolFiles | object[] | Both | Array of ELF files to load symbols from instead of the executable file. Each item in the array cab be a string or an object. Program information is ignored (see `loadFiles`). Can be an empty list to specify none. If this property does not exist, then the executable is used for symbols |
| targetId | string &#124; number | Both | On BMP this is the ID number that should be passed to the attach command (defaults to 1); for PyOCD this is the target identifier (only needed for custom hardware) |
| targetProcessor | number | Both | The processor you want to debug. Zero based integer index. Must be less than 'numberOfProcessors' |
Expand Down
Loading

0 comments on commit 767476a

Please sign in to comment.