From 6163aea14a3d651ec1db2dd7724b7a7157f492d9 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Tue, 10 Nov 2015 15:16:51 -0500 Subject: [PATCH] Nucleo F303RE: Update CAN configuration --- configs/nucleo-f303re/can/defconfig | 49 ++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/configs/nucleo-f303re/can/defconfig b/configs/nucleo-f303re/can/defconfig index aea36e69a7..95d023f26d 100644 --- a/configs/nucleo-f303re/can/defconfig +++ b/configs/nucleo-f303re/can/defconfig @@ -278,6 +278,8 @@ CONFIG_STM32_FLASH_CONFIG_DEFAULT=y # CONFIG_STM32_STM32F205 is not set # CONFIG_STM32_STM32F207 is not set CONFIG_STM32_STM32F30XX=y +# CONFIG_STM32_STM32F302 is not set +CONFIG_STM32_STM32F303=y # CONFIG_STM32_STM32F37XX is not set # CONFIG_STM32_STM32F40XX is not set # CONFIG_STM32_STM32F401 is not set @@ -296,13 +298,15 @@ CONFIG_STM32_HAVE_CCM=y CONFIG_STM32_HAVE_USBDEV=y # CONFIG_STM32_HAVE_OTGFS is not set # CONFIG_STM32_HAVE_FSMC is not set -# CONFIG_STM32_HAVE_USART3 is not set -# CONFIG_STM32_HAVE_UART4 is not set -# CONFIG_STM32_HAVE_UART5 is not set +CONFIG_STM32_HAVE_USART3=y +CONFIG_STM32_HAVE_UART4=y +CONFIG_STM32_HAVE_UART5=y # CONFIG_STM32_HAVE_USART6 is not set # CONFIG_STM32_HAVE_UART7 is not set # CONFIG_STM32_HAVE_UART8 is not set CONFIG_STM32_HAVE_TIM1=y +CONFIG_STM32_HAVE_TIM3=y +CONFIG_STM32_HAVE_TIM4=y # CONFIG_STM32_HAVE_TIM5 is not set CONFIG_STM32_HAVE_TIM6=y CONFIG_STM32_HAVE_TIM7=y @@ -325,11 +329,15 @@ CONFIG_STM32_HAVE_ADC4=y # CONFIG_STM32_HAVE_ADC4_DMA is not set CONFIG_STM32_HAVE_CAN1=y # CONFIG_STM32_HAVE_CAN2 is not set +CONFIG_STM32_HAVE_DAC1=y +CONFIG_STM32_HAVE_DAC2=y # CONFIG_STM32_HAVE_RNG is not set # CONFIG_STM32_HAVE_ETHMAC is not set +CONFIG_STM32_HAVE_I2C2=y +CONFIG_STM32_HAVE_I2C3=y CONFIG_STM32_HAVE_SPI2=y -# CONFIG_STM32_HAVE_SPI3 is not set -# CONFIG_STM32_HAVE_SPI4 is not set +CONFIG_STM32_HAVE_SPI3=y +CONFIG_STM32_HAVE_SPI4=y # CONFIG_STM32_HAVE_SPI5 is not set # CONFIG_STM32_HAVE_SPI6 is not set # CONFIG_STM32_HAVE_SAIPLL is not set @@ -346,10 +354,13 @@ CONFIG_STM32_CAN1=y # CONFIG_STM32_DAC2 is not set # CONFIG_STM32_I2C1 is not set # CONFIG_STM32_I2C2 is not set +# CONFIG_STM32_I2C3 is not set # CONFIG_STM32_PWR is not set # CONFIG_STM32_SDIO is not set # CONFIG_STM32_SPI1 is not set # CONFIG_STM32_SPI2 is not set +# CONFIG_STM32_SPI3 is not set +# CONFIG_STM32_SPI4 is not set CONFIG_STM32_SYSCFG=y # CONFIG_STM32_TIM1 is not set # CONFIG_STM32_TIM2 is not set @@ -364,6 +375,9 @@ CONFIG_STM32_SYSCFG=y # CONFIG_STM32_TSC is not set # CONFIG_STM32_USART1 is not set # CONFIG_STM32_USART2 is not set +# CONFIG_STM32_USART3 is not set +# CONFIG_STM32_UART4 is not set +# CONFIG_STM32_UART5 is not set # CONFIG_STM32_USB is not set # CONFIG_STM32_IWDG is not set # CONFIG_STM32_WWDG is not set @@ -609,7 +623,9 @@ CONFIG_CAN=y # CONFIG_CAN_FD is not set CONFIG_CAN_FIFOSIZE=8 CONFIG_CAN_NPENDINGRTR=4 +# CONFIG_CAN_TXREADY is not set # CONFIG_ARCH_HAVE_PWM_PULSECOUNT is not set +# CONFIG_ARCH_HAVE_PWM_MULTICHAN is not set # CONFIG_PWM is not set CONFIG_ARCH_HAVE_I2CRESET=y # CONFIG_I2C is not set @@ -627,7 +643,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y # CONFIG_VIDEO_DEVICES is not set # CONFIG_BCH is not set # CONFIG_INPUT is not set -# CONFIG_IOEXPANDER is not set +# CONFIG_DISCRETE_IO is not set # CONFIG_LCD is not set # CONFIG_MMCSD is not set # CONFIG_MTD is not set @@ -649,11 +665,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y # # System Logging # -CONFIG_RAMLOG=y -CONFIG_RAMLOG_SYSLOG=y -CONFIG_RAMLOG_BUFSIZE=1024 -# CONFIG_RAMLOG_CRLF is not set -CONFIG_RAMLOG_NONBLOCKING=y +# CONFIG_RAMLOG is not set # # Networking Support @@ -685,6 +697,7 @@ CONFIG_FS_MQUEUE_MPATH="/var/mqueue" # CONFIG_FS_FAT is not set # CONFIG_FS_NXFFS is not set # CONFIG_FS_ROMFS is not set +# CONFIG_FS_TMPFS is not set # CONFIG_FS_SMARTFS is not set # CONFIG_FS_PROCFS is not set # CONFIG_FS_UNIONFS is not set @@ -692,9 +705,8 @@ CONFIG_FS_MQUEUE_MPATH="/var/mqueue" # # System Logging # -CONFIG_SYSLOG=y +# CONFIG_SYSLOG is not set # CONFIG_SYSLOG_TIMESTAMP is not set -# CONFIG_SYSLOG_CHAR is not set # # Graphics Support @@ -775,12 +787,19 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512 # Application Configuration # +# +# CAN Utilities +# + # # Examples # # CONFIG_EXAMPLES_BUTTONS is not set CONFIG_EXAMPLES_CAN=y -CONFIG_EXAMPLES_CAN_NMSGS=32 +CONFIG_EXAMPLES_CAN_DEVPATH="/dev/can0" +# CONFIG_EXAMPLES_CAN_READ is not set +# CONFIG_EXAMPLES_CAN_WRITE is not set +CONFIG_EXAMPLES_CAN_READWRITE=y # CONFIG_EXAMPLES_CONFIGDATA is not set # CONFIG_EXAMPLES_CPUHOG is not set # CONFIG_EXAMPLES_DHCPD is not set @@ -788,11 +807,11 @@ CONFIG_EXAMPLES_CAN_NMSGS=32 # CONFIG_EXAMPLES_FTPC is not set # CONFIG_EXAMPLES_FTPD is not set # CONFIG_EXAMPLES_HELLO is not set -# CONFIG_EXAMPLES_HELLOXX is not set # CONFIG_EXAMPLES_JSON is not set # CONFIG_EXAMPLES_HIDKBD is not set # CONFIG_EXAMPLES_KEYPADTEST is not set # CONFIG_EXAMPLES_IGMP is not set +# CONFIG_EXAMPLES_MEDIA is not set # CONFIG_EXAMPLES_MM is not set # CONFIG_EXAMPLES_MODBUS is not set # CONFIG_EXAMPLES_MOUNT is not set