Skip to content

Commit

Permalink
[add] 提交RVBacktrace软件包
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaochenger authored and Rbb666 committed Sep 2, 2024
1 parent 4149ba0 commit 8a52d26
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
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_V100
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_V100
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"
}
]
}

0 comments on commit 8a52d26

Please sign in to comment.