-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LHC
committed
Oct 25, 2023
1 parent
a21b528
commit c471e49
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
# Kconfig file for package lhc_modbus | ||
menuconfig PKG_USING_LHC_MODBUS | ||
bool "Lightweight and high-performance C language modbus protocol stack." | ||
default n | ||
|
||
if PKG_USING_LHC_MODBUS | ||
|
||
config PKG_LHC_MODBUS_PATH | ||
string | ||
default "/packages/iot/lhc_modbus" | ||
|
||
config LHC_MODBUS_USING_SAMPLES | ||
bool "Enable samples" | ||
default n | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_LHC_MODBUS_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_LHC_MODBUS_V100 | ||
bool "v1.0.0" | ||
|
||
config PKG_USING_LHC_MODBUS_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_LHC_MODBUS_VER | ||
string | ||
default "v1.0.0" if PKG_USING_LHC_MODBUS_V100 | ||
default "latest" if PKG_USING_LHC_MODBUS_LATEST_VERSION | ||
|
||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "lhc_modbus", | ||
"description": "Lightweight and high-performance C language modbus protocol stack.", | ||
"description_zh": "轻量级和高性能的C语言modbus协议栈。", | ||
"enable": "PKG_USING_LHC_MODBUS", | ||
"keywords": [ | ||
"lhc_modbus" | ||
], | ||
"category": "iot", | ||
"author": { | ||
"name": "LHC324", | ||
"email": "[email protected]", | ||
"github": "LHC324" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/LHC324/lhc_modbus", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/LHC324/lhc_modbus#readme", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "v1.0.0", | ||
"URL": "https://github.com/LHC324/lhc_modbus/archive/V1.0.0.zip", | ||
"filename": "lhc_modbus-1.0.0.zip" | ||
}, | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/LHC324/lhc_modbus.git", | ||
"filename": "", | ||
"VER_SHA": "master" | ||
} | ||
] | ||
} |