Skip to content

Tests/candev#8

Closed
wosym wants to merge 6 commits intotoonst:masterfrom
wosym:tests/candev
Closed

Tests/candev#8
wosym wants to merge 6 commits intotoonst:masterfrom
wosym:tests/candev

Conversation

@wosym
Copy link
Copy Markdown

@wosym wosym commented Jan 31, 2020

Contribution description

Adds a generic test application for the candev abstraction that can be used with any can-driver available in RIOT (currently only mcp2515, see #7 ).

Testing procedure

  • Connect the required hardware and fill in the correct settings in the Makefile
  • Use the send shellcommand to send data over the canbus. This can be read on Linux with candump
  • Send some data to the controller with cansend or cangen on Linux. in the test-app, the received packets can be read with the receive shell command.

Issues/PRs references

Depends on #7

Vincent Dupont and others added 6 commits January 31, 2020 11:17
This driver implements the candev interface
in other apps we might not want to automatically select the auto_init
This test app bypasses candll and uses the candev abstraction directly.
This has the limitation that you can only use one can driver and one can
device, which is in most use cases sufficient.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant