|
1 | 1 | { |
2 | | - "name": "svd-viewer", |
3 | | - "displayName": "SVD Viewer", |
4 | | - "description": "Standalone SVD Viewer extension extracted from cortex-debug", |
| 2 | + "name": "peripheral-inspector", |
| 3 | + "displayName": "Peripheral Inspector", |
| 4 | + "description": "Standalone Peripheral Inspector extension extracted from cortex-debug", |
5 | 5 | "version": "1.3.0", |
6 | 6 | "preview": true, |
7 | 7 | "publisher": "eclipse-cdt", |
|
65 | 65 | "views": { |
66 | 66 | "debug": [ |
67 | 67 | { |
68 | | - "id": "svd-viewer.svd", |
| 68 | + "id": "peripheral-inspector.svd", |
69 | 69 | "name": "Peripherals", |
70 | | - "when": "svd-viewer.svd.hasData" |
| 70 | + "when": "peripheral-inspector.svd.hasData" |
71 | 71 | } |
72 | 72 | ] |
73 | 73 | }, |
74 | 74 | "commands": [ |
75 | 75 | { |
76 | | - "command": "svd-viewer.svd.updateNode", |
| 76 | + "command": "peripheral-inspector.svd.updateNode", |
77 | 77 | "title": "Update Value", |
78 | 78 | "icon": "$(edit)" |
79 | 79 | }, |
80 | 80 | { |
81 | | - "command": "svd-viewer.svd.copyValue", |
| 81 | + "command": "peripheral-inspector.svd.copyValue", |
82 | 82 | "title": "Copy Value", |
83 | 83 | "icon": "$(files)" |
84 | 84 | }, |
85 | 85 | { |
86 | | - "command": "svd-viewer.svd.forceRefresh", |
| 86 | + "command": "peripheral-inspector.svd.forceRefresh", |
87 | 87 | "title": "Refresh", |
88 | 88 | "icon": "$(refresh)" |
89 | 89 | }, |
90 | 90 | { |
91 | | - "command": "svd-viewer.svd.pin", |
| 91 | + "command": "peripheral-inspector.svd.pin", |
92 | 92 | "title": "Pin", |
93 | 93 | "icon": "$(pin)" |
94 | 94 | }, |
95 | 95 | { |
96 | | - "command": "svd-viewer.svd.unpin", |
| 96 | + "command": "peripheral-inspector.svd.unpin", |
97 | 97 | "title": "Unpin", |
98 | 98 | "icon": "$(pinned)" |
99 | 99 | }, |
100 | 100 | { |
101 | | - "command": "svd-viewer.svd.setFormat", |
| 101 | + "command": "peripheral-inspector.svd.setFormat", |
102 | 102 | "title": "Set Value Format", |
103 | 103 | "icon": "$(symbol-unit)" |
104 | 104 | }, |
105 | 105 | { |
106 | | - "command": "svd-viewer.svd.refreshAll", |
| 106 | + "command": "peripheral-inspector.svd.refreshAll", |
107 | 107 | "title": "Refresh All", |
108 | 108 | "icon": "$(refresh)" |
109 | 109 | } |
110 | 110 | ], |
111 | 111 | "menus": { |
112 | 112 | "commandPalette": [ |
113 | 113 | { |
114 | | - "command": "svd-viewer.svd.updateNode", |
| 114 | + "command": "peripheral-inspector.svd.updateNode", |
115 | 115 | "when": "false" |
116 | 116 | }, |
117 | 117 | { |
118 | | - "command": "svd-viewer.svd.copyValue", |
| 118 | + "command": "peripheral-inspector.svd.copyValue", |
119 | 119 | "when": "false" |
120 | 120 | }, |
121 | 121 | { |
122 | | - "command": "svd-viewer.svd.forceRefresh", |
| 122 | + "command": "peripheral-inspector.svd.forceRefresh", |
123 | 123 | "when": "false" |
124 | 124 | }, |
125 | 125 | { |
126 | | - "command": "svd-viewer.svd.pin", |
| 126 | + "command": "peripheral-inspector.svd.pin", |
127 | 127 | "when": "false" |
128 | 128 | }, |
129 | 129 | { |
130 | | - "command": "svd-viewer.svd.unpin", |
| 130 | + "command": "peripheral-inspector.svd.unpin", |
131 | 131 | "when": "false" |
132 | 132 | }, |
133 | 133 | { |
134 | | - "command": "svd-viewer.svd.setFormat", |
| 134 | + "command": "peripheral-inspector.svd.setFormat", |
135 | 135 | "when": "false" |
136 | 136 | }, |
137 | 137 | { |
138 | | - "command": "svd-viewer.svd.refreshAll", |
| 138 | + "command": "peripheral-inspector.svd.refreshAll", |
139 | 139 | "when": "false" |
140 | 140 | } |
141 | 141 | ], |
142 | 142 | "touchBar": [ |
143 | 143 | { |
144 | | - "command": "svd-viewer.svd.forceRefresh", |
145 | | - "when": "view == svd-viewer.svd && viewItem == registerRW" |
| 144 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 145 | + "when": "view == peripheral-inspector.svd && viewItem == registerRW" |
146 | 146 | }, |
147 | 147 | { |
148 | | - "command": "svd-viewer.svd.forceRefresh", |
149 | | - "when": "view == svd-viewer.svd && viewItem == register" |
| 148 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 149 | + "when": "view == peripheral-inspector.svd && viewItem == register" |
150 | 150 | }, |
151 | 151 | { |
152 | | - "command": "svd-viewer.svd.forceRefresh", |
153 | | - "when": "view == svd-viewer.svd && viewItem == registerRO" |
| 152 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 153 | + "when": "view == peripheral-inspector.svd && viewItem == registerRO" |
154 | 154 | }, |
155 | 155 | { |
156 | | - "command": "svd-viewer.svd.forceRefresh", |
157 | | - "when": "view == svd-viewer.svd && viewItem =~ /peripheral.*/" |
| 156 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 157 | + "when": "view == peripheral-inspector.svd && viewItem =~ /peripheral.*/" |
158 | 158 | }, |
159 | 159 | { |
160 | | - "command": "svd-viewer.svd.pin", |
161 | | - "when": "view == svd-viewer.svd && viewItem == peripheral" |
| 160 | + "command": "peripheral-inspector.svd.pin", |
| 161 | + "when": "view == peripheral-inspector.svd && viewItem == peripheral" |
162 | 162 | }, |
163 | 163 | { |
164 | | - "command": "svd-viewer.svd.unpin", |
165 | | - "when": "view == svd-viewer.svd && viewItem == peripheral.pinned" |
| 164 | + "command": "peripheral-inspector.svd.unpin", |
| 165 | + "when": "view == peripheral-inspector.svd && viewItem == peripheral.pinned" |
166 | 166 | } |
167 | 167 | ], |
168 | 168 | "view/title": [ |
169 | 169 | { |
170 | | - "command": "svd-viewer.svd.refreshAll", |
171 | | - "when": "view == svd-viewer.svd && debugState == stopped", |
| 170 | + "command": "peripheral-inspector.svd.refreshAll", |
| 171 | + "when": "view == peripheral-inspector.svd && debugState == stopped", |
172 | 172 | "group": "navigation" |
173 | 173 | } |
174 | 174 | ], |
175 | 175 | "view/item/context": [ |
176 | 176 | { |
177 | | - "command": "svd-viewer.svd.updateNode", |
178 | | - "when": "view == svd-viewer.svd && viewItem == field", |
| 177 | + "command": "peripheral-inspector.svd.updateNode", |
| 178 | + "when": "view == peripheral-inspector.svd && viewItem == field", |
179 | 179 | "group": "inline" |
180 | 180 | }, |
181 | 181 | { |
182 | | - "command": "svd-viewer.svd.updateNode", |
183 | | - "when": "view == svd-viewer.svd && viewItem == fieldWO", |
| 182 | + "command": "peripheral-inspector.svd.updateNode", |
| 183 | + "when": "view == peripheral-inspector.svd && viewItem == fieldWO", |
184 | 184 | "group": "inline" |
185 | 185 | }, |
186 | 186 | { |
187 | | - "command": "svd-viewer.svd.updateNode", |
188 | | - "when": "view == svd-viewer.svd && viewItem == registerRW", |
| 187 | + "command": "peripheral-inspector.svd.updateNode", |
| 188 | + "when": "view == peripheral-inspector.svd && viewItem == registerRW", |
189 | 189 | "group": "inline" |
190 | 190 | }, |
191 | 191 | { |
192 | | - "command": "svd-viewer.svd.copyValue", |
193 | | - "when": "view == svd-viewer.svd && viewItem == field", |
| 192 | + "command": "peripheral-inspector.svd.copyValue", |
| 193 | + "when": "view == peripheral-inspector.svd && viewItem == field", |
194 | 194 | "group": "inline" |
195 | 195 | }, |
196 | 196 | { |
197 | | - "command": "svd-viewer.svd.copyValue", |
198 | | - "when": "view == svd-viewer.svd && viewItem == fieldRO", |
| 197 | + "command": "peripheral-inspector.svd.copyValue", |
| 198 | + "when": "view == peripheral-inspector.svd && viewItem == fieldRO", |
199 | 199 | "group": "inline" |
200 | 200 | }, |
201 | 201 | { |
202 | | - "command": "svd-viewer.svd.copyValue", |
203 | | - "when": "view == svd-viewer.svd && viewItem == registerRW", |
| 202 | + "command": "peripheral-inspector.svd.copyValue", |
| 203 | + "when": "view == peripheral-inspector.svd && viewItem == registerRW", |
204 | 204 | "group": "inline" |
205 | 205 | }, |
206 | 206 | { |
207 | | - "command": "svd-viewer.svd.copyValue", |
208 | | - "when": "view == svd-viewer.svd && viewItem == registerRO", |
| 207 | + "command": "peripheral-inspector.svd.copyValue", |
| 208 | + "when": "view == peripheral-inspector.svd && viewItem == registerRO", |
209 | 209 | "group": "inline" |
210 | 210 | }, |
211 | 211 | { |
212 | | - "command": "svd-viewer.svd.forceRefresh", |
213 | | - "when": "view == svd-viewer.svd && viewItem == registerRW", |
| 212 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 213 | + "when": "view == peripheral-inspector.svd && viewItem == registerRW", |
214 | 214 | "group": "inline" |
215 | 215 | }, |
216 | 216 | { |
217 | | - "command": "svd-viewer.svd.forceRefresh", |
218 | | - "when": "view == svd-viewer.svd && viewItem == register", |
| 217 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 218 | + "when": "view == peripheral-inspector.svd && viewItem == register", |
219 | 219 | "group": "inline" |
220 | 220 | }, |
221 | 221 | { |
222 | | - "command": "svd-viewer.svd.forceRefresh", |
223 | | - "when": "view == svd-viewer.svd && viewItem == registerRO", |
| 222 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 223 | + "when": "view == peripheral-inspector.svd && viewItem == registerRO", |
224 | 224 | "group": "inline" |
225 | 225 | }, |
226 | 226 | { |
227 | | - "command": "svd-viewer.svd.forceRefresh", |
228 | | - "when": "view == svd-viewer.svd && viewItem =~ /peripheral.*/", |
| 227 | + "command": "peripheral-inspector.svd.forceRefresh", |
| 228 | + "when": "view == peripheral-inspector.svd && viewItem =~ /peripheral.*/", |
229 | 229 | "group": "inline" |
230 | 230 | }, |
231 | 231 | { |
232 | | - "command": "svd-viewer.svd.pin", |
233 | | - "when": "view == svd-viewer.svd && viewItem == peripheral", |
| 232 | + "command": "peripheral-inspector.svd.pin", |
| 233 | + "when": "view == peripheral-inspector.svd && viewItem == peripheral", |
234 | 234 | "group": "inline" |
235 | 235 | }, |
236 | 236 | { |
237 | | - "command": "svd-viewer.svd.unpin", |
238 | | - "when": "view == svd-viewer.svd && viewItem == peripheral.pinned", |
| 237 | + "command": "peripheral-inspector.svd.unpin", |
| 238 | + "when": "view == peripheral-inspector.svd && viewItem == peripheral.pinned", |
239 | 239 | "group": "inline" |
240 | 240 | }, |
241 | 241 | { |
242 | | - "command": "svd-viewer.svd.setFormat", |
243 | | - "when": "view == svd-viewer.svd", |
| 242 | + "command": "peripheral-inspector.svd.setFormat", |
| 243 | + "when": "view == peripheral-inspector.svd", |
244 | 244 | "group": "navigation" |
245 | 245 | } |
246 | 246 | ] |
247 | 247 | }, |
248 | 248 | "configuration": { |
249 | | - "title": "SVD Viewer", |
| 249 | + "title": "Peripheral Inspector", |
250 | 250 | "properties": { |
251 | | - "svd-viewer.svdPathConfig": { |
| 251 | + "peripheral-inspector.definitionPathConfig": { |
252 | 252 | "type": "string", |
253 | | - "default": "svdPath", |
254 | | - "description": "Debug configuration key to use to get the SVD path" |
| 253 | + "default": "definitionPath", |
| 254 | + "description": "Debug configuration key to use to get the path for the definition file" |
255 | 255 | }, |
256 | | - "svd-viewer.deviceConfig": { |
| 256 | + "peripheral-inspector.deviceConfig": { |
257 | 257 | "type": "string", |
258 | 258 | "default": "deviceName", |
259 | 259 | "description": "Debug configuration key to use to get the device name" |
260 | 260 | }, |
261 | | - "svd-viewer.processorConfig": { |
| 261 | + "peripheral-inspector.processorConfig": { |
262 | 262 | "type": "string", |
263 | 263 | "default": "processorName", |
264 | 264 | "description": "Debug configuration key to use to get the processor name" |
265 | 265 | }, |
266 | | - "svd-viewer.packAssetUrl": { |
| 266 | + "peripheral-inspector.packAssetUrl": { |
267 | 267 | "type": "string", |
268 | 268 | "default": "https://pack-content.cmsis.io", |
269 | 269 | "description": "Base URL for CMSIS pack assets" |
270 | 270 | }, |
271 | | - "svd-viewer.svdAddrGapThreshold": { |
| 271 | + "peripheral-inspector.svdAddrGapThreshold": { |
272 | 272 | "type": "number", |
273 | 273 | "default": 16, |
274 | 274 | "multipleOf": 1, |
275 | 275 | "minimum": -1, |
276 | 276 | "maximum": 32, |
277 | 277 | "description": "If the gap between registers is less than this threshold (multiple of 8), combine into a single read from device. -1 means never combine registers and is very slow" |
278 | 278 | }, |
279 | | - "svd-viewer.saveLayout": { |
| 279 | + "peripheral-inspector.saveLayout": { |
280 | 280 | "type": "boolean", |
281 | 281 | "default": true, |
282 | 282 | "description": "Save layout of peripheral view between sessions" |
|
0 commit comments