Skip to content

Commit 767476a

Browse files
authored
Merge pull request #1052 from minuteos/feat/bmp-usb-swo
undefined
2 parents 8210ae4 + 10dfac8 commit 767476a

File tree

16 files changed

+772
-165
lines changed

16 files changed

+772
-165
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
out
22
/node_modules
33
/webview/node_modules
4-
/binary_modules/*/node_modules
4+
/binary_modules/**/node_modules
55
*.vsix
66
.vscode-test
77
.DS_Store

.vscodeignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ tsconfig.json
1010
vsc-extension-quickstart.md
1111
webpack.config.js
1212
node_modules
13-
binary_modules/electron*
13+
binary_modules
1414

1515
!node_modules/@vscode/webview-ui-toolkit

binary_modules/package-lock.json

Lines changed: 54 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

binary_modules/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"electron-rebuild": "^3.2.8"
1212
},
1313
"dependencies": {
14-
"serialport": "^10.4.0"
14+
"serialport": "^10.4.0",
15+
"usb": "^2.14.0"
1516
}
1617
}

debug_attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ If the type is marked as `{...}` it means that it is a complex item can have mul
8888
| swoConfig<br>.enabled | boolean | Both | Enable SWO decoding. |
8989
| 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. |
9090
| swoConfig<br>.swoFrequency | number | Both | SWO frequency in Hz. |
91-
| swoConfig<br>.swoPath | string | Both | Path name when source is "file" or "serial". Typically a /path-name or a serial-port-name |
92-
| swoConfig<br>.swoPort | string | Both | When server is "external" && source is "socket", port to connect to. Format [host:]port |
91+
| 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 |
92+
| 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. |
9393
| 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 |
9494
| 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) |
9595
| targetProcessor | number | Both | The processor you want to debug. Zero based integer index. Must be less than 'numberOfProcessors' |

0 commit comments

Comments
 (0)