Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-12-22 15:59:50 +00:00
parent 7480e0c3cb
commit 9ff5eb279d
14 changed files with 238 additions and 17 deletions
+2
View File
@@ -524,6 +524,8 @@ STM3240G-EVAL-specific Configuration Options
Default: 8
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
Default: 4
CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback
mode for testing. The STM32 CAN driver does support loopback mode.
CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined.
CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined.