Closed rickwu666666 closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 48.00%. Comparing base (
7b5dd02
) to head (a9f8d17
). Report is 14 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We removed serial.rs485 module before since we thought serial module is enough for handle RS485
However, we've learn that RTS level is the key to init the RS485 serial port depend on the HW design.
Modify parser of resource job to parse RS485 config
Modify reource job to parse according to extra RS485 config
Also modify the command in test job to run with RS485 config if type is RS485
Description
We learned that RTS level is matter while init RS485 ports. In some HW we need init RTS level as "RTS_AFTER_SEND" to make RS485 port work.
ref: https://www.kernel.org/doc/html/latest/driver-api/serial/serial-rs485.html
Resolved issues
Documentation
Tests
Side load result fail: https://pastebin.canonical.com/p/T9vRJV7xVk/
Side load result pass: https://pastebin.canonical.com/p/8rr4yPJM4B/
Side load result for 4 ports connected together, ttyMAX1 fail is a known issue.