Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[add] 提交RVBacktrace软件包 #1770

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
31 changes: 31 additions & 0 deletions tools/RVBacktrace/Kconfig
Original file line number Diff line number Diff line change
@@ -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

46 changes: 46 additions & 0 deletions tools/RVBacktrace/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"github": "Yaochenger"
},
"repository": "https://github.com/Yaochenger/RvBacktrace",
"license": "Apache-2.0",
"enable": "PKG_USING_RVBACKTRACE",
"keywords": [
"RVBacktrace"
],
"category": "tools",
"author": {
"name": "Yaochenger",
"email": "[email protected]",
"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"
}
]
}
Loading