Skip to content

Commit fd74629

Browse files
authored
[packages/misc] add drmp (#1826)
* add drmp * fix misc/drmp/Kconfig
1 parent 158e450 commit fd74629

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

misc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ source "$PKGS_DIR/packages/misc/soem/Kconfig"
3838
source "$PKGS_DIR/packages/misc/qparam/Kconfig"
3939
source "$PKGS_DIR/packages/misc/CorevMCU_CLI/Kconfig"
4040
source "$PKGS_DIR/packages/misc/get_irq_priority/Kconfig"
41+
source "$PKGS_DIR/packages/misc/drmp/Kconfig"
4142
endmenu

misc/drmp/Kconfig

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
# Kconfig file for package drmp
3+
4+
menuconfig PKG_USING_DRMP
5+
bool "A protocol stack used for remote device maintenance"
6+
default n
7+
8+
if PKG_USING_DRMP
9+
10+
config PKG_DRMP_PATH
11+
string
12+
default "/packages/misc/drmp"
13+
14+
config DRMP_VCOM_TOTAL
15+
int "vcom total (2 - 16)"
16+
default 2
17+
18+
config DRMP_USING_SAMPLE
19+
bool "using sample"
20+
default n
21+
22+
choice
23+
prompt "Version"
24+
default PKG_USING_DRMP_LATEST_VERSION
25+
help
26+
Select the package version
27+
28+
config PKG_USING_DRMP_LATEST_VERSION
29+
bool "latest"
30+
31+
config PKG_USING_DRMP_V100
32+
bool "v1.00"
33+
endchoice
34+
35+
config PKG_DRMP_VER
36+
string
37+
default "latest" if PKG_USING_DRMP_LATEST_VERSION
38+
default "v1.00" if PKG_USING_DRMP_V100
39+
40+
endif

misc/drmp/package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "drmp",
3+
"description": "A protocol stack used for remote device maintenance",
4+
"description_zh": "用于设备远程维护的协议栈",
5+
"enable": "PKG_USING_DRMP",
6+
"keywords": [
7+
"protocol",
8+
"remote",
9+
"maintenance"
10+
],
11+
"category": "misc",
12+
"author": {
13+
"name": "qiyongzhong0",
14+
"email": "[email protected]",
15+
"github": "qiyongzhong0"
16+
},
17+
"license": " LGPL-2.1",
18+
"repository": "https://github.com/qiyongzhong0/rt-thread-drmp",
19+
"homepage": "https://github.com/qiyongzhong0/rt-thread-drmp#readme",
20+
"site": [
21+
{
22+
"version": "latest",
23+
"URL": "https://github.com/qiyongzhong0/rt-thread-drmp.git",
24+
"filename": "",
25+
"VER_SHA": "master"
26+
},
27+
{
28+
"version": "v1.00",
29+
"URL": "https://github.com/qiyongzhong0/rt-thread-drmp/archive/v1.00.zip",
30+
"filename": "rt-thread-drmp-1.00.zip",
31+
"VER_SHA": ""
32+
}
33+
]
34+
}

0 commit comments

Comments
 (0)