diff --git a/tools/Kconfig b/tools/Kconfig index 1284631db8..43977d33cd 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -5,6 +5,7 @@ source "$PKGS_DIR/packages/tools/sorch/Kconfig" source "$PKGS_DIR/packages/tools/dict/Kconfig" source "$PKGS_DIR/packages/tools/CmBacktrace/Kconfig" source "$PKGS_DIR/packages/tools/MCoreDump/Kconfig" +source "$PKGS_DIR/packages/tools/ms-probe/Kconfig" source "$PKGS_DIR/packages/tools/EasyFlash/Kconfig" source "$PKGS_DIR/packages/tools/EasyLogger/Kconfig" source "$PKGS_DIR/packages/tools/SystemView/Kconfig" diff --git a/tools/ms-probe/Kconfig b/tools/ms-probe/Kconfig new file mode 100644 index 0000000000..e8fdf8beff --- /dev/null +++ b/tools/ms-probe/Kconfig @@ -0,0 +1,33 @@ +# Kconfig file for package ms-probe +menuconfig PKG_USING_MS_PROBE + bool "ms-probe: Microscope fault-state diagnostic probe" + default n + help + GPL-2.0 / commercial dual-licensed development diagnostics. + Run pkgs --update after selecting the package, then open menuconfig + again to configure Scope protocol and BSP-specific options. + The host analyzes the exported Context and whitelisted memory. + Disable this package and Fault injection in production builds. + +if PKG_USING_MS_PROBE + + config PKG_MS_PROBE_PATH + string + default "/packages/tools/ms-probe" + + choice + prompt "Version" + default PKG_USING_MS_PROBE_LATEST_VERSION + + config PKG_USING_MS_PROBE_LATEST_VERSION + bool "latest" + endchoice + + config PKG_MS_PROBE_VER + string + default "latest" if PKG_USING_MS_PROBE_LATEST_VERSION + + # Optional until pkgs --update downloads the package into the BSP. + osource "packages/ms-probe-latest/Kconfig.options" + +endif diff --git a/tools/ms-probe/package.json b/tools/ms-probe/package.json new file mode 100644 index 0000000000..37b4bc4722 --- /dev/null +++ b/tools/ms-probe/package.json @@ -0,0 +1,29 @@ +{ + "name": "ms-probe", + "description": "Microscope fault-state diagnostic probe for RT-Thread", + "description_zh": "Microscope 嵌入式故障现场诊断 Probe 软件包", + "enable": "PKG_USING_MS_PROBE", + "keywords": [ + "microscope", + "fault", + "probe", + "diagnostics" + ], + "category": "tools", + "author": { + "name": "Real-Thread", + "email": "business@rt-thread.com", + "github": "Real-Thread" + }, + "license": "GPL-2.0", + "repository": "https://github.com/Real-Thread/ms-probe", + "homepage": "https://github.com/Real-Thread/ms-probe#readme", + "site": [ + { + "version": "latest", + "URL": "https://github.com/Real-Thread/ms-probe.git", + "filename": "ms-probe.zip", + "VER_SHA": "main" + } + ] +}