summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/ostest/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-22 15:59:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-22 15:59:50 +0000
commit5b038d28629472894c07f4efc604c992c9d8264d (patch)
tree63468d1d6ac45b29fbd91bfc9b9e1d7d6d7b17c0 /nuttx/configs/stm3240g-eval/ostest/defconfig
parent0404da840332858afad5ecbfcba1290c191f0078 (diff)
downloadpx4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.gz
px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.bz2
px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.zip
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
Diffstat (limited to 'nuttx/configs/stm3240g-eval/ostest/defconfig')
-rwxr-xr-xnuttx/configs/stm3240g-eval/ostest/defconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig
index e0b696dfe..4811aaf39 100755
--- a/nuttx/configs/stm3240g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3240g-eval/ostest/defconfig
@@ -265,14 +265,17 @@ CONFIG_SSI_POLLWAIT=y
# 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.
#
CONFIG_CAN=n
#CONFIG_CAN_FIFOSIZE
#CONFIG_CAN_NPENDINGRTR
-CONFIG_CAN1_BAUD=115200
-CONFIG_CAN2_BAUD=115200
+CONFIG_CAN_LOOPBACK=n
+CONFIG_CAN1_BAUD=700000
+CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings