diff --git a/tools/Kconfig b/tools/Kconfig index fcc69c742f..2684ca1591 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -47,4 +47,5 @@ source "$PKGS_DIR/packages/tools/armv7m_DWT/Kconfig" source "$PKGS_DIR/packages/tools/vofa_plus/Kconfig" source "$PKGS_DIR/packages/tools/RT_Trace/Kconfig" source "$PKGS_DIR/packages/tools/zdebug/Kconfig" +source "$PKGS_DIR/packages/tools/RVBacktrace/Kconfig" endmenu diff --git a/tools/RVBacktrace/Kconfig b/tools/RVBacktrace/Kconfig new file mode 100644 index 0000000000..70663ec00f --- /dev/null +++ b/tools/RVBacktrace/Kconfig @@ -0,0 +1,31 @@ + +# Kconfig file for package RVBacktrace +menuconfig PKG_USING_RVBACKTRACE + bool "RISC-V Minimalist Stack Traceback Components." + default n + +if PKG_USING_RVBACKTRACE + + config PKG_RVBACKTRACE_PATH + string + default "/packages/tools/RVBacktrace" + + choice + prompt "Version" + help + Select the package version + + config PKG_USING_RVBACKTRACE_V010001 + bool "v1.0.1" + + config PKG_USING_RVBACKTRACE_LATEST_VERSION + bool "latest" + endchoice + + config PKG_RVBACKTRACE_VER + string + default "v1.0.1" if PKG_USING_RVBACKTRACE_V010001 + default "latest" if PKG_USING_RVBACKTRACE_LATEST_VERSION + +endif + diff --git a/tools/RVBacktrace/package.json b/tools/RVBacktrace/package.json new file mode 100644 index 0000000000..0b41604ed6 --- /dev/null +++ b/tools/RVBacktrace/package.json @@ -0,0 +1,46 @@ +{ + "name": "RVBacktrace", + "description": "RISC-V Minimalist Stack Traceback Components.", + "description_zh": "RISC-V 极简栈回溯组件", + "keywords": [ + "risc-v", + "backtrace", + "RVBacktrace" + ], + "category": "tools", + "author": { + "name": "Yaochenger", + "email": "1516081466@qq.com", + "github": "Yaochenger" + }, + "repository": "https://github.com/Yaochenger/RvBacktrace", + "license": "Apache-2.0", + "enable": "PKG_USING_RVBACKTRACE", + "keywords": [ + "RVBacktrace" + ], + "category": "tools", + "author": { + "name": "Yaochenger", + "email": "1516081466@qq.com", + "github": "Yaochenger" + }, + "license": "Apache-2.0", + "repository": "https://github.com/Yaochenger/RvBacktrace", + "icon": "unknown", + "homepage": "https://github.com/Yaochenger/RvBacktrace#readme", + "doc": "unknown", + "site": [ + { + "version": "v1.0.1", + "URL": "https://github.com/Yaochenger/RvBacktrace/archive/1.0.1.zip", + "filename": "RvBacktrace-1.0.1.zip" + }, + { + "version": "latest", + "URL": "https://github.com/Yaochenger/RvBacktrace.git", + "filename": "RvBacktrace.zip", + "VER_SHA": "master" + } + ] +}