|
1048 | 1048 | "description": "The tool required to build this csolution project." |
1049 | 1049 | }, |
1050 | 1050 | "debug": { "$ref": "#/definitions/DebugType" }, |
| 1051 | + "debugger": { "$ref": "#/definitions/DebuggersType" }, |
1051 | 1052 | "define": { "$ref": "#/definitions/DefinesType" }, |
1052 | 1053 | "define-asm": { "$ref": "#/definitions/DefinesAsmType" }, |
1053 | 1054 | "del-path": { "$ref": "#/definitions/DelpathsType" }, |
|
1922 | 1923 | }, |
1923 | 1924 | "additionalProperties": false |
1924 | 1925 | }, |
| 1926 | + "MemoryAccessType": { |
| 1927 | + "description": "Memory access permission.", |
| 1928 | + "pattern": "^[rwxpsnc]+$", |
| 1929 | + "type": "string" |
| 1930 | + }, |
1925 | 1931 | "MemoryType": { |
1926 | 1932 | "title": "memory:", |
1927 | 1933 | "description": "Additional memory available", |
|
1933 | 1939 | "type": "object", |
1934 | 1940 | "properties": { |
1935 | 1941 | "name": { "title": "name:", "type": "string", "description": "Memory identifier." }, |
1936 | | - "access": { "title": "access:", "type": "string", "description": "Memory access permission." }, |
| 1942 | + "access": { "title": "access:", "$ref": "#/definitions/MemoryAccessType" }, |
1937 | 1943 | "algorithm":{ "title": "algorithm:", "type": "string", "description": "Programming algorithm." }, |
1938 | 1944 | "start": { "title": "start:", "type": "number", "description": "Memory start address." }, |
1939 | 1945 | "size": { "title": "size:", "type": "number", "description": "Memory size." } |
|
1974 | 1980 | "additionalProperties": false |
1975 | 1981 | }, |
1976 | 1982 | "DebugSequencesType": { |
| 1983 | + "description": "Debug sequences for the target.", |
1977 | 1984 | "type": "array", |
1978 | 1985 | "uniqueItems": true, |
1979 | 1986 | "items": { "$ref": "#/definitions/DebugSequenceType" } |
|
2009 | 2016 | }, |
2010 | 2017 | "additionalProperties": false |
2011 | 2018 | }, |
| 2019 | + "SystemResourcesType": { |
| 2020 | + "description": "Resources of a target system.", |
| 2021 | + "type": "object", |
| 2022 | + "properties": { |
| 2023 | + "memory": { "$ref": "#/definitions/SystemMemoriesType" } |
| 2024 | + }, |
| 2025 | + "additionalProperties": false |
| 2026 | + }, |
| 2027 | + "SystemMemoriesType": { |
| 2028 | + "type": "array", |
| 2029 | + "uniqueItems": true, |
| 2030 | + "items": { "$ref": "#/definitions/SystemMemoryType" } |
| 2031 | + }, |
| 2032 | + "SystemMemoryType": { |
| 2033 | + "type": "object", |
| 2034 | + "properties": { |
| 2035 | + "name": { "type": "string", "description": "Name of the memory region." }, |
| 2036 | + "access": { "$ref": "#/definitions/MemoryAccessType" }, |
| 2037 | + "start": { "type": "number", "description": "Base address of the memory." }, |
| 2038 | + "size": { "type": "number", "description": "Size of the memory." }, |
| 2039 | + "default": { "type": "boolean", "description": "Memory is always accessible (used for algorithm when no ram-start is specified)." }, |
| 2040 | + "startup": { "type": "boolean", "description": "Default startup code location (vector table)." }, |
| 2041 | + "pname": { "type": "string", "description": "Only accessible by a specific processor." }, |
| 2042 | + "uninit": { "type": "boolean", "description": "Memory content must not be altered." }, |
| 2043 | + "alias": { "type": "string", "description": "Name of identical memory exposed at different address." }, |
| 2044 | + "from-pack": { "$ref": "#/definitions/PackID" } |
| 2045 | + }, |
| 2046 | + "additionalProperties": false, |
| 2047 | + "required": ["name"] |
| 2048 | + }, |
| 2049 | + "DebuggersType": { |
| 2050 | + "description": "Connection information to debuggers.", |
| 2051 | + "type": "array", |
| 2052 | + "uniqueItems": true, |
| 2053 | + "items": { "$ref": "#/definitions/DebuggerType" } |
| 2054 | + }, |
| 2055 | + "DebuggerType": { |
| 2056 | + "type": "object", |
| 2057 | + "properties": { |
| 2058 | + "name": { "type": "string", "description": "Identifies the debug configuration." }, |
| 2059 | + "info": { "type": "string", "description": "Brief description of the connection." }, |
| 2060 | + "port": { "enum": [ "jtag", "swd" ], "description": "Selected debug port (jtag or swd)." }, |
| 2061 | + "clock": { "type": "number", "description": "Selected debug clock speed." }, |
| 2062 | + "dbgconf": { "type": "string", "description": "Debugger configuration file (pinout, trace)." }, |
| 2063 | + "for-context": { "$ref": "#/definitions/ForContext" }, |
| 2064 | + "not-for-context": { "$ref": "#/definitions/NotForContext" } |
| 2065 | + }, |
| 2066 | + "additionalProperties": false, |
| 2067 | + "required": ["name"] |
| 2068 | + }, |
| 2069 | + "DebugVarsType": { |
| 2070 | + "description": "Debug variables for debug sequences.", |
| 2071 | + "type": "object", |
| 2072 | + "properties": { |
| 2073 | + "vars": { "type": "string", "description": "Initial values for debug variables used in debug sequences." } |
| 2074 | + }, |
| 2075 | + "additionalProperties": false, |
| 2076 | + "required": ["vars"] |
| 2077 | + }, |
2012 | 2078 | "RunDebugDescType": { |
2013 | 2079 | "description": "This section describes generated contents", |
2014 | 2080 | "type": "object", |
2015 | 2081 | "properties": { |
2016 | | - "generated-by": { "type": "string", "description": "Tool name along with version information used to generate this file." }, |
2017 | | - "solution": { "type": "string", "description": "Solution path." }, |
2018 | | - "target-type": { "type": "string", "description": "Target type." }, |
2019 | | - "compiler": { "type": "string", "description": "Selection of compiler used." }, |
2020 | | - "board": { "$ref": "#/definitions/BoardType" }, |
2021 | | - "device": { "$ref": "#/definitions/DeviceType" }, |
2022 | | - "board-pack": { "$ref": "#/definitions/PackID" }, |
2023 | | - "device-pack": { "$ref": "#/definitions/PackID" }, |
2024 | | - "programming": { "$ref": "#/definitions/ProgrammingType" }, |
2025 | | - "system-descriptions": { "$ref": "#/definitions/RunFilesType", "description": "System description files." }, |
2026 | | - "output": { "$ref": "#/definitions/RunFilesType", "description": "Application image files." }, |
2027 | | - "sequences": { "$ref": "#/definitions/DebugSequencesType", "description": "Debug sequences for the target." } |
| 2082 | + "generated-by": { "type": "string", "description": "Tool name along with version information used to generate this file." }, |
| 2083 | + "solution": { "type": "string", "description": "Solution path." }, |
| 2084 | + "target-type": { "type": "string", "description": "Target type." }, |
| 2085 | + "compiler": { "type": "string", "description": "Selection of compiler used." }, |
| 2086 | + "board": { "$ref": "#/definitions/BoardType" }, |
| 2087 | + "device": { "$ref": "#/definitions/DeviceType" }, |
| 2088 | + "board-pack": { "$ref": "#/definitions/PackID" }, |
| 2089 | + "device-pack": { "$ref": "#/definitions/PackID" }, |
| 2090 | + "programming": { "$ref": "#/definitions/ProgrammingType" }, |
| 2091 | + "system-descriptions": { "$ref": "#/definitions/RunFilesType", "description": "System description files." }, |
| 2092 | + "output": { "$ref": "#/definitions/RunFilesType", "description": "Application image files." }, |
| 2093 | + "system-resources": { "$ref": "#/definitions/SystemResourcesType" }, |
| 2094 | + "debugger": { "$ref": "#/definitions/DebuggersType" }, |
| 2095 | + "debug-vars": { "$ref": "#/definitions/DebugVarsType" }, |
| 2096 | + "debug-sequences": { "$ref": "#/definitions/DebugSequencesType" } |
2028 | 2097 | }, |
2029 | 2098 | "additionalProperties": false |
2030 | 2099 | } |
|
0 commit comments