Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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 peripherals/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ source "$PKGS_DIR/packages/peripherals/sean_ws2812b/Kconfig"
source "$PKGS_DIR/packages/peripherals/ic74hc165/Kconfig"
source "$PKGS_DIR/packages/peripherals/ist8310/Kconfig"
source "$PKGS_DIR/packages/peripherals/ST7789_SPI/Kconfig"
source "$PKGS_DIR/packages/peripherals/can_uds/Kconfig"
source "$PKGS_DIR/packages/peripherals/rtt_isotp-c/Kconfig"
source "$PKGS_DIR/packages/peripherals/ikunLed/Kconfig"
source "$PKGS_DIR/packages/peripherals/ins5t8025/Kconfig"
Expand Down
34 changes: 31 additions & 3 deletions peripherals/can_uds/Kconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
menuconfig PKG_USING_ISO14229

# Kconfig file for package can_uds
menuconfig PKG_USING_CAN_UDS
bool "Enable iso14229 (UDS) library"
default n
help
ISO14229-1 (UDS) library for RT-Thread.
This library provides a platform-agnostic UDS client and server implementation
with an RT-Thread porting layer (iso14229_rtt.c).

if PKG_USING_ISO14229
if PKG_USING_CAN_UDS

menu "Logging Configuration"
config UDS_LOG_LEVEL
Expand Down Expand Up @@ -273,4 +275,30 @@ if PKG_USING_ISO14229
endmenu
endif

endif
config PKG_USING_ISO14229
bool
default "true"

config PKG_CAN_UDS_PATH
string
default "/packages/peripherals/can_uds"

choice
prompt "Version"
help
Select the package version

config PKG_USING_CAN_UDS_V100
bool "v1.0.0"

config PKG_USING_CAN_UDS_LATEST_VERSION
bool "latest"
endchoice

config PKG_CAN_UDS_VER
string
default "v1.0.0" if PKG_USING_CAN_UDS_V100
default "latest" if PKG_USING_CAN_UDS_LATEST_VERSION

endif

11 changes: 8 additions & 3 deletions peripherals/can_uds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "can_uds",
"description": "The implementation of the ISO14229-1 (UDS) protocol stack suitable for RT-Thread. It provides functions such as CAN console mode and file transfer.",
"description_zh": "适用于 RT-Thread 的 ISO14229-1 (UDS) 协议栈实现。提供CAN控制台模式与文件传输等功能。",
"enable": "PKG_USING_ISO14229",
"enable": "PKG_USING_CAN_UDS",
"keywords": [
"uds",
"iso14229",
Expand All @@ -12,17 +12,22 @@
],
"category": "peripherals",
"author": {
"name": "hly",
"name": "wdfk-prog",
"email": "1425075683@qq.com",
"github": "wdfk-prog"
},
"license": "MIT",
"repository": "https://github.com/wdfk-prog/can_uds.git",
"repository": "https://github.com/wdfk-prog/can_uds",
"icon": "unknown",
"homepage": "https://github.com/wdfk-prog/can_uds#readme",
"doc": "https://github.com/wdfk-prog/can_uds/blob/master/README.md",
"readme": "ISO14229-1 (UDS) library implementation for RT-Thread.",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/wdfk-prog/can_uds/archive/refs/tags/V1.0.0.zip",
"filename": "can_uds-1.0.0.zip"
},
{
"version": "latest",
"URL": "https://github.com/wdfk-prog/can_uds.git",
Expand Down
24 changes: 21 additions & 3 deletions peripherals/rtt_isotp-c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,26 @@ if PKG_USING_ISOTP_C
Enable examples for isotp-c package, demonstrating communication
between two CAN interfaces.

config PKG_ISOTP_C_VERSION
string "isotp-c version"
default "latest"
config PKG_ISOTP_C_PATH
string
default "/packages/peripherals/rtt_isotp-c"

choice
prompt "Version"
help
Select the package version

config PKG_USING_ISOTP_C_V100
bool "v1.0.0"

config PKG_USING_ISOTP_C_LATEST_VERSION
bool "latest"
endchoice

config PKG_ISOTP_C_VER
string
default "v1.0.0" if PKG_USING_ISOTP_C_V100
default "latest" if PKG_USING_ISOTP_C_LATEST_VERSION


endif
5 changes: 5 additions & 0 deletions peripherals/rtt_isotp-c/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"doc": "https://github.com/wdfk-prog/rtt_isotp-c.git#readme",
"readme": "Adapter layer for CAN TP (ISO 15765-2). Designed for scenarios involving multi-frame transmission (can be interfaced to implement protocols such as YMODEM).",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/wdfk-prog/rtt_isotp-c/archive/refs/tags/v1.01.00.zip",
"filename": "rtt_isotp_c-1.0.0.zip"
},
{
"version": "latest",
"URL": "https://github.com/wdfk-prog/rtt_isotp-c.git",
Expand Down
Loading