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
34 changes: 33 additions & 1 deletion peripherals/rs485/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,30 @@ if PKG_USING_RS485
string
default "/packages/peripherals/rs485"

config RS485_USING_DEV
bool "using making RS485 device"
default n

config RS485_USING_DMA_RX
bool "receive using the DMA mode"
default n

config RS485_USING_INT_TX
bool "send using the interrupt mode"
default n

config RS485_USING_DMA_TX
bool "send using the DMA mode"
default n

config RS485_SW_DLY_US
int "sending and receiving switching delay"
default 0

config RS485_USING_TEST
bool "using test"
default n

if RS485_USING_TEST

config RS485_TEST_SERIAL
Expand Down Expand Up @@ -115,6 +135,15 @@ if PKG_USING_RS485
config PKG_USING_RS485_LATEST_VERSION
bool "latest"

config PKG_USING_RS485_V106
bool "v1.06"

config PKG_USING_RS485_V105
bool "v1.05"

config PKG_USING_RS485_V104
bool "v1.04"

config PKG_USING_RS485_V103
bool "v1.03"

Expand All @@ -131,6 +160,9 @@ if PKG_USING_RS485
config PKG_RS485_VER
string
default "latest" if PKG_USING_RS485_LATEST_VERSION
default "v1.06" if PKG_USING_RS485_V106
default "v1.05" if PKG_USING_RS485_V105
default "v1.04" if PKG_USING_RS485_V104
default "v1.03" if PKG_USING_RS485_V103
default "v1.02" if PKG_USING_RS485_V102
default "v1.01" if PKG_USING_RS485_V101
Expand Down
18 changes: 18 additions & 0 deletions peripherals/rs485/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,24 @@
"filename": "rt-thread-rs485-1.03.zip",
"VER_SHA": ""
},
{
"version": "v1.04",
"URL": "https://github.com/qiyongzhong0/rt-thread-rs485/archive/v1.04.zip",
"filename": "rt-thread-rs485-1.04.zip",
"VER_SHA": ""
},
{
"version": "v1.05",
"URL": "https://github.com/qiyongzhong0/rt-thread-rs485/archive/v1.05.zip",
"filename": "rt-thread-rs485-1.05.zip",
"VER_SHA": ""
},
{
"version": "v1.06",
"URL": "https://github.com/qiyongzhong0/rt-thread-rs485/archive/v1.06.zip",
"filename": "rt-thread-rs485-1.06.zip",
"VER_SHA": ""
},
{
"version": "latest",
"URL": "https://github.com/qiyongzhong0/rt-thread-rs485.git",
Expand Down
Loading