summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rwxr-xr-xnuttx/configs/stm3210e-eval/README.txt2
-rw-r--r--nuttx/configs/stm3210e-eval/src/up_adc.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt
index 05face7f0..bdd06b0d1 100755
--- a/nuttx/configs/stm3210e-eval/README.txt
+++ b/nuttx/configs/stm3210e-eval/README.txt
@@ -587,6 +587,8 @@ STM3210E-EVAL-specific Configuration Options
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_REGDEBUG - If CONFIG_DEBUG is set, this will generate an
+ dump of all CAN registers.
STM3210E-EVAL LCD Hardware Configuration
diff --git a/nuttx/configs/stm3210e-eval/src/up_adc.c b/nuttx/configs/stm3210e-eval/src/up_adc.c
index fa05f547b..75ac6610a 100644
--- a/nuttx/configs/stm3210e-eval/src/up_adc.c
+++ b/nuttx/configs/stm3210e-eval/src/up_adc.c
@@ -76,19 +76,19 @@
/* The number of ADC channels in the conversion list */
-#define ADC_NCHANNELS 2
+#define ADC_NCHANNELS 1
/************************************************************************************
* Private Data
************************************************************************************/
-/* Identifying number of each ADC channel: Variable Resistor and BNC_CN5 */
+/* Identifying number of each ADC channel: Variable Resistor */
-static const uint8_t g_chanlist[ADC_NCHANNELS] = {14, 11};
+static const uint8_t g_chanlist[ADC_NCHANNELS] = {14};
/* Configurations of pins used byte each ADC channels */
-static const uint32_t g_pinlist[ADC_NCHANNELS] = {GPIO_ADC1_IN14 , GPIO_ADC1_IN11};
+static const uint32_t g_pinlist[ADC_NCHANNELS] = {GPIO_ADC1_IN14};
/************************************************************************************
* Private Functions