Skip to content

Commit 7be5035

Browse files
committed
feat: add cherryecat
Signed-off-by: sakumisu <[email protected]>
1 parent 7117818 commit 7be5035

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

system/CherryECAT/Kconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Kconfig file for package CherryECAT
2+
menuconfig PKG_USING_CHERRYECAT
3+
bool "CherryECAT: a tiny and beautiful, high real-time and low-jitter EtherCAT master stack, specially designed for MCUs running with RTOS"
4+
default n
5+
6+
if PKG_USING_CHERRYECAT
7+
8+
choice
9+
prompt "select ethernet device driver"
10+
default PKG_CHERRYECAT_NETDEV_CUSTOM
11+
config PKG_CHERRYECAT_NETDEV_CUSTOM
12+
bool "CUSTOM (Implement it yourself)"
13+
config PKG_CHERRYECAT_NETDEV_HPMICRO
14+
bool "hpmicro"
15+
config PKG_CHERRYECAT_NETDEV_RENESAS
16+
bool "renesas"
17+
endchoice
18+
19+
config PKG_CHERRYECAT_PATH
20+
string
21+
default "/packages/system/CherryECAT"
22+
23+
choice
24+
prompt "Version"
25+
default PKG_USING_CHERRYECAT_LATEST_VERSION
26+
help
27+
Select the package version
28+
29+
config PKG_USING_CHERRYECAT_LATEST_VERSION
30+
bool "latest"
31+
endchoice
32+
33+
config PKG_CHERRYECAT_VER
34+
string
35+
default "latest" if PKG_USING_CHERRYECAT_LATEST_VERSION
36+
endif

system/CherryECAT/package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "CherryECAT",
3+
"description": "Tiny and beautiful, high real-time and low-jitter EtherCAT master stack, specially designed for MCUs running with RTOS",
4+
"description_zh": "小而美的、高实时性、低抖动的 EtherCAT 主机协议栈,专为跑在 RTOS 下的 MCU 设计",
5+
"enable": "PKG_USING_CHERRYECAT",
6+
"keywords": [
7+
"CherryECAT",
8+
"EtherCAT"
9+
],
10+
"category": "system",
11+
"author": {
12+
"name": "sakumisu",
13+
"email": "[email protected]",
14+
"github": "sakumisu"
15+
},
16+
"license": "Apache-2.0",
17+
"repository": "https://github.com/cherry-embedded/CherryECAT",
18+
"icon": "unknown",
19+
"homepage": "https://github.com/cherry-embedded/CherryECAT#readme",
20+
"doc": "unknown",
21+
"site": [
22+
{
23+
"version": "latest",
24+
"URL": "https://github.com/cherry-embedded/CherryECAT.git",
25+
"filename": "Null for git package",
26+
"VER_SHA": "master"
27+
}
28+
]
29+
}

system/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ source "$PKGS_DIR/packages/system/rmp/Kconfig"
5757
source "$PKGS_DIR/packages/system/r-rhealstone/Kconfig"
5858
source "$PKGS_DIR/packages/system/heartbeat/Kconfig"
5959
source "$PKGS_DIR/packages/system/micro_ros_local/Kconfig"
60+
source "$PKGS_DIR/packages/system/CherryECAT/Kconfig"
6061
endmenu

0 commit comments

Comments
 (0)