szafonimateusz-mi opened a new pull request, #16285: URL: https://github.com/apache/nuttx/pull/16285
## Summary - arch/sim: add CAN support based on host SocketCAN - boards/sim: add CAN support and configuration ## Impact CAN interface can be used with simulator ## Testing tested with `sim/can` configuration: 1. create virtual CAN on host: ``` ip link add dev can0 type vcan ifconfig can0 up ``` 2. run nuttx 3. bring up can0 on NuttX ``` nsh> ifup can0 ifup can0...OK ``` 4. read CAN messages ``` nsh> candump can0 ``` 5. send CAN messages from host to NuttX ``` $ cansequence can0 ``` 6. frames received on NuttX ``` nsh> candump can0 can0 002 [1] 00 can0 002 [1] 01 can0 002 [1] 02 can0 002 [1] 03 can0 002 [1] 04 can0 002 [1] 05 can0 002 [1] 06 can0 002 [1] 07 can0 002 [1] 08 can0 002 [1] 09 can0 002 [1] 0A can0 002 [1] 0B can0 002 [1] 0C can0 002 [1] 0D can0 002 [1] 0E can0 002 [1] 0F can0 002 [1] 10 can0 002 [1] 11 can0 002 [1] 12 ``` similar steps can be used to test CAN character driver with `examples/can` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org