|
374 | 374 | }, |
375 | 375 | { |
376 | 376 | "type": "number" |
| 377 | + }, |
| 378 | + { |
| 379 | + "type": "boolean" |
377 | 380 | } |
378 | 381 | ] |
379 | 382 | } |
|
441 | 444 | }, |
442 | 445 | { |
443 | 446 | "type": "number" |
| 447 | + }, |
| 448 | + { |
| 449 | + "type": "boolean" |
444 | 450 | } |
445 | 451 | ] |
446 | 452 | } |
|
2370 | 2376 | "uniqueItems": true, |
2371 | 2377 | "items": { "$ref": "#/definitions/TargetSetImageType" } |
2372 | 2378 | }, |
| 2379 | + "TargetSetProjectContext": { |
| 2380 | + "description": "Project output with optional build-type: '<project_name>[.build_type]'.", |
| 2381 | + "type": "string", |
| 2382 | + "pattern": "^([^\\.\\+]+(\\.[a-zA-Z0-9_-]{1,32})?)$" |
| 2383 | + }, |
2373 | 2384 | "TargetSetImageType": { |
2374 | 2385 | "type": "object", |
2375 | 2386 | "properties": { |
2376 | | - "project-context": { "type": "string", "description": "Project output with optional build-type: '<project_name>[.buid_type]'." }, |
| 2387 | + "project-context": { "$ref": "#/definitions/TargetSetProjectContext" }, |
2377 | 2388 | "image": { "type": "string", "description": "Additional image file to load." }, |
2378 | 2389 | "info": { "type": "string", "description": "Brief description of the image file." }, |
2379 | 2390 | "type": { "enum": [ "elf", "hex", "bin", "lib" ], "description": "Specifies an explicit image type." }, |
|
2388 | 2399 | ] |
2389 | 2400 | }, |
2390 | 2401 | "TargetSetDebuggerType": { |
2391 | | - "title": "optimize:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#debugger", |
| 2402 | + "title": "debugger:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#debugger", |
2392 | 2403 | "description": "Debugger configuration for this set.", |
2393 | 2404 | "type": "object", |
2394 | 2405 | "properties": { |
|
2402 | 2413 | "required": ["name"] |
2403 | 2414 | }, |
2404 | 2415 | "TargetSetLoadType": { |
2405 | | - "title": "optimize:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#load", |
| 2416 | + "title": "load:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#load", |
2406 | 2417 | "description": "Specifies the load mode for the project output or image file.", |
2407 | 2418 | "enum": [ "image+symbols", "symbols", "image", "none" ] |
2408 | 2419 | }, |
|
0 commit comments