Extend examples/can so that it can be used in other contexts

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4489 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-03-14 01:19:27 +00:00
parent c184b7a4de
commit 16f7ec20bd
5 changed files with 59 additions and 6 deletions
+7
View File
@@ -110,6 +110,13 @@ examples/can
built-in, the default is 32. Otherwise messages are sent and received
indefinitely.
The default behavior assumes loopback mode. Messages are sent, then read
and verified. The behavior can be altered for other kinds of testing where
the test only sends or received (but does not verify) can messages.
CONFIG_EXAMPLES_CAN_READONLY - Only receive messages
CONFIG_EXAMPLES_CAN_WRITEONLY - Only send messages
examples/cdcacm
^^^^^^^^^^^^^^^