diff options
| author | CYFS <[email protected]> | 2026-11-06 09:45:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-11-06 09:45:46 +0800 |
| commit | 16d725e5782896d1c20f4847cc33db504dd46a94 (patch) | |
| tree | 74f72c7011878e142bb65928ab5a928f73268a0e /bsp/simlinux/SConstruct | |
| parent | 905e4832bfb3b29adaffef6e78e2ddc7a418817f (diff) | |
[utest][can] Add CAN send and receive tests (#11752)
* [utest][can] Add CAN send and receive tests
* [utest][can] Fix external CAN FD receive timeout
Check the no-progress timeout after duplicate or unmatched frames, and
only wait on the receive semaphore when no complete frame is available.
Exit immediately once all expected patterns have been received.
Format the test with the current mainline configuration and clang-format
22.1.8.
Validation: reproduced the original duplicate/unmatched-frame hang with
a 50-tick timeout and a 1000-tick watchdog. All 22 host-stub scenarios pass,
including timeout renewal, tick wraparound, empty reads, error propagation,
and successful reception. The mainline formatting check also passes.
No full BSP build or hardware test was performed.
Diffstat (limited to 'bsp/simlinux/SConstruct')
0 files changed, 0 insertions, 0 deletions
