Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update or remove(if appropriate) incorrect defaults. #77

Merged
merged 3 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 19 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "probe-rs-debugger",
"displayName": "Debugger for probe-rs",
"version": "0.21.5",
"version": "0.22.0",
"publisher": "probe-rs",
"description": "probe-rs Debug Adapter for VS Code.",
"author": {
Expand Down Expand Up @@ -60,10 +60,10 @@
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.2",
"@types/node": "^20.11.5",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vscode/debugadapter": "^1.64.0",
"@vscode/debugprotocol": "^1.64.0",
"@vscode/vsce": "^2.22.0",
Expand All @@ -72,7 +72,7 @@
"get-port": "^7.0.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"prettier": "^3.2.2",
"prettier": "3.2.4",
"rimraf": "^5.0.5",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
Expand Down Expand Up @@ -183,7 +183,7 @@
},
"wireProtocol": {
"type": "string",
"description": "The correct wire Protocol to use.",
"description": "The correct wire protocol to use.",
"enum": [
"Swd",
"Jtag"
Expand All @@ -196,7 +196,7 @@
"allowEraseAll": {
"type": "boolean",
"description": "Allow the session to erase all memory of the chip or reset it to factory default.",
"default": true
"default": false
},
"flashingConfig": {
"type": "object",
Expand All @@ -205,12 +205,12 @@
"flashingEnabled": {
"type": "boolean",
"description": "Flash the target before debugging.",
"default": true
"default": false
},
"haltAfterReset": {
"type": "boolean",
"description": "Halt all cores on the target after reset.",
"default": true
"default": false
},
"fullChipErase": {
"type": "boolean",
Expand Down Expand Up @@ -264,10 +264,11 @@
},
"coreConfigs": {
"type": "array",
"description": "Each MCU core will have a mandatory `coreIndex`, `programBinary`, and `chip` as well as several other optional properties.",
"description": "Each MCU core has a mandatory `coreIndex` and `programBinary` as well as several other optional properties.",
"items": {
"type": "object",
"required": [
"coreIndex",
"programBinary"
],
"properties": {
Expand All @@ -278,13 +279,11 @@
},
"programBinary": {
"type": "string",
"description": "The path (relative to `cwd` or absolute) to the binary for your target firmware",
"default": "./target/thumbv7em-none-eabihf/debug/${workspaceFolderBasename}"
"description": "The path (relative to `cwd` or absolute) to the binary for your target firmware"
},
"svdFile": {
"type": "string",
"description": "The path (relative to `cwd` or absolute) to the CMCIS-SVD file for your target core",
"default": "./CMSIS.SVD"
"description": "The path (relative to `cwd` or absolute) to the CMCIS-SVD file for your target core"
},
"rttEnabled": {
"type": "boolean",
Expand Down Expand Up @@ -406,7 +405,7 @@
},
"wireProtocol": {
"type": "string",
"description": "The correct wire Protocol to use.",
"description": "The correct wire protocol to use.",
"enum": [
"Swd",
"Jtag"
Expand All @@ -419,15 +418,16 @@
"allowEraseAll": {
"type": "boolean",
"description": "Allow the session to erase all memory of the chip or reset it to factory default.",
"default": true
"default": false
},
"coreConfigs": {
"type": "array",
"description": "Each MCU core will have a mandatory `coreIndex`, `programBinary`, and `chip` as well as several other optional properties.",
"description": "Each MCU core has a mandatory `coreIndex` and `programBinary` as well as several other optional properties.",
"items": {
"type": "object",
"properties": {
"required": [
"coreIndex",
"programBinary"
],
"coreIndex": {
Expand All @@ -437,13 +437,11 @@
},
"programBinary": {
"type": "string",
"description": "The path (relative to `cwd` or absolute) to the binary for your target firmware",
"default": "./target/thumbv7em-none-eabihf/debug/${workspaceFolderBasename}"
"description": "The path (relative to `cwd` or absolute) to the binary for your target firmware"
},
"svdFile": {
"type": "string",
"description": "The path (relative to `cwd` or absolute) to the CMCIS-SVD file for your target core",
"default": "./CMSIS.SVD"
"description": "The path (relative to `cwd` or absolute) to the CMCIS-SVD file for your target core"
},
"rttEnabled": {
"type": "boolean",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"inlineSourceMap": false,
"preserveConstEnums": true,
"strictNullChecks": true,
"noUnusedParameters": false
"noUnusedParameters": false,
},
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
Loading