Skip to content

Commit

Permalink
ProfileType addon - devtools issue Open-CMSIS-Pack#179
Browse files Browse the repository at this point in the history
Serving [[projmgr] [buildmgr] Opportunity to introduce toolchain-independent configuration using the most common generic configurations](Open-CMSIS-Pack#179)
  • Loading branch information
VGRSTM committed Jul 25, 2022
1 parent 847d861 commit c7339f2
Showing 1 changed file with 13 additions and 31 deletions.
44 changes: 13 additions & 31 deletions tools/projmgr/schemas/common.schema.json
Expand Up @@ -78,17 +78,9 @@
"pattern": "^([ -9;-~]+::)?[ -9;-~]+(:[ -9;-~]+)?$",
"description": "Unique board name, optionally preceded by board vendor and succeeded by board revision string, in the format [vendor::]board[:revision]"
},
"OptimizeType": {
"enum": [ "max", "size", "speed", "debug" ],
"description": "Generic optimize levels (max, size, speed, debug) for code generation."
},
"DebugType": {
"enum": [ "on", "off" ],
"description": "Generic control for the generation of debug information (on, off)."
},
"WarningsType": {
"enum": [ "no", "all", "Misra", "AC5-like" ],
"description": "Control warnings (no, all, Misra, AC5-like)."
"ProfileType": {
"enum": [ "release", "release_forSpeed", "release_forSize", "debug", "debug_allWarnings" ],
"description": "Generic toolchain setups for binary generation."
},
"OutputType": {
"enum": [ "exe", "lib" ],
Expand Down Expand Up @@ -168,8 +160,7 @@
"device": { "$ref": "#/definitions/DeviceType" },
"processor": { "$ref": "#/definitions/ProcessorType" },
"compiler": { "$ref": "#/definitions/CompilerType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -199,8 +190,7 @@
},
"processor": { "$ref": "#/definitions/ProcessorType" },
"compiler": { "$ref": "#/definitions/CompilerType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -267,8 +257,7 @@
"for-type": { "$ref": "#/definitions/ForType" },
"not-for-type": { "$ref": "#/definitions/NotForType" },
"for-compiler": { "$ref": "#/definitions/CompilersType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -301,8 +290,7 @@
"for-type": { "$ref": "#/definitions/ForType" },
"not-for-type": { "$ref": "#/definitions/NotForType" },
"for-compiler": { "$ref": "#/definitions/CompilersType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -334,8 +322,7 @@
},
"for-type": { "$ref": "#/definitions/ForType" },
"not-for-type": { "$ref": "#/definitions/NotForType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -364,8 +351,7 @@
},
"for-type": { "$ref": "#/definitions/ForType" },
"not-for-type": { "$ref": "#/definitions/NotForType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand Down Expand Up @@ -418,8 +404,7 @@
},
"processor": { "$ref": "#/definitions/ProcessorType" },
"compiler": { "$ref": "#/definitions/CompilerType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
Expand All @@ -441,8 +426,7 @@
"board": { "$ref": "#/definitions/BoardType" },
"device": { "$ref": "#/definitions/DeviceType" },
"compiler": { "$ref": "#/definitions/CompilerType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"processor": { "$ref": "#/definitions/ProcessorType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
Expand All @@ -469,8 +453,7 @@
"board": { "$ref": "#/definitions/BoardType" },
"device": { "$ref": "#/definitions/DeviceType" },
"compiler": { "$ref": "#/definitions/CompilerType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"processor": { "$ref": "#/definitions/ProcessorType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"define": { "$ref": "#/definitions/DefinesType" },
Expand Down Expand Up @@ -523,8 +506,7 @@
"for-type": { "$ref": "#/definitions/ForType" },
"not-for-type": { "$ref": "#/definitions/NotForType" },
"for-compiler": { "$ref": "#/definitions/CompilersType" },
"optimize": { "$ref": "#/definitions/OptimizeType" },
"debug": { "$ref": "#/definitions/DebugType" },
"profile": { "$ref": "#/definitions/ProfileType" },
"defines": { "$ref": "#/definitions/DefinesType" },
"undefines": { "$ref": "#/definitions/UndefinesType" },
"add-paths": { "$ref": "#/definitions/AddpathsType" },
Expand Down

0 comments on commit c7339f2

Please sign in to comment.