summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/src/stm3210e-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/stm3210e-internal.h')
-rw-r--r--nuttx/configs/stm3210e-eval/src/stm3210e-internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/stm3210e-internal.h b/nuttx/configs/stm3210e-eval/src/stm3210e-internal.h
index 25b1da320..5cb5e91af 100644
--- a/nuttx/configs/stm3210e-eval/src/stm3210e-internal.h
+++ b/nuttx/configs/stm3210e-eval/src/stm3210e-internal.h
@@ -60,6 +60,12 @@
# undef CONFIG_STM32_SPI2
#endif
+/* There is only CAN1 on the STM3210E-EVAL board */
+
+#if defined(CONFIG_STM32_CAN2)
+# warning "The STM3210E-EVAL only supports CAN1"
+#endif
+
/* STM3210E-EVAL GPIOs **************************************************************/
/* LEDs */