From ccfe8a8df3381bf887d17d7fc06da8928ec616f8 Mon Sep 17 00:00:00 2001 From: Florent Vion Date: Sun, 28 Apr 2024 18:18:38 +0200 Subject: [PATCH] add definitionPath attribute to json schema gdbtarget Signed-off-by: Florent Vion --- package.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f72935..99daaab 100644 --- a/package.json +++ b/package.json @@ -282,7 +282,32 @@ "description": "Save layout of peripheral view between sessions" } } - } + }, + "debuggers": [ + { + "type": "gdbtarget", + "configurationAttributes": { + "launch": { + "properties": { + "definitionPath": { + "default": null, + "description": "Setting for 'PERIPHERALS' window provided by 'eclipse-cdt.peripheral-inspector'. It can be a simple file name or based on a CMSIS pack or deviceName. See 'eclipse-cdt.peripheral-inspector' for format", + "type": "string" + } + } + }, + "attach": { + "properties": { + "definitionPath": { + "default": null, + "description": "Setting for 'PERIPHERALS' window provided by 'eclipse-cdt.peripheral-inspector'. It can be a simple file name or based on a CMSIS pack or deviceName. See 'eclipse-cdt.peripheral-inspector' for format", + "type": "string" + } + } + } + } + } + ] }, "activationEvents": [ "onDebug",