Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
@@ -1,5 +1,6 @@
menu "tools packages"

source "$PKGS_DIR/packages/tools/vector/Kconfig"
source "$PKGS_DIR/packages/tools/CmBacktrace/Kconfig"
source "$PKGS_DIR/packages/tools/MCoreDump/Kconfig"
source "$PKGS_DIR/packages/tools/EasyFlash/Kconfig"
Expand Down
26 changes: 26 additions & 0 deletions tools/vector/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Kconfig file for package vector
menuconfig PKG_USING_VECTOR
bool "vector: a dynamic, type-agnostic container."
default n

if PKG_USING_VECTOR
config PKG_VECTOR_PATH
string
default "/packages/tools/vector"

choice
prompt "Version"
default PKG_USING_VECTOR_LATEST_VERSION
help
Select the package version

config PKG_USING_VECTOR_LATEST_VERSION
bool "latest"

endchoice

config PKG_VECTOR_VER
string
default "latest" if PKG_USING_VECTOR_LATEST_VERSION

endif
28 changes: 28 additions & 0 deletions tools/vector/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "vector",
"description": "vector is a dynamic, type-agnostic container module.",
"description_zh": "Vector 是一个为 RT-Thread 设计的通用向量容器模块,提供动态大小的数组功能,支持不同数据类型的存储和操作。",
"enable": "PKG_USING_VECTOR",
"keywords": [
"vector"
],
"category": "tools",
"author": {
"name": "zhangguofu",
"email": "cleancode@163.com",
"github": "Gary.Zhang"
},
"license": "MIT",
"repository": "git@github.com:zhangguofu/vector.git",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是不正确的,这个无法正常下载,请参考其他软件包修正下:

https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/development-guide/package/package

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我已经将修改的内容更新到了我Fork的分支上。这个PR需要我进一步做什么吗?

"icon": "unknown",
"homepage": "https://github.com/zhangguofu/vector.git#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

写错了,没这个分支,看你仓库应该是main分支

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经修改,帮忙审核一下

"URL": "https://github.com/zhangguofu/vector.git",
"filename": "vector.zip",
"VER_SHA": ""
}
]
}
Loading