STM32 CAN: Options for TSEG1 and TSEG2 quanta missing from Kconfig file
This commit is contained in:
parent
015072a4d4
commit
bc58422444
|
@ -6042,4 +6042,6 @@
|
|||
(2013-11-11).
|
||||
* fs/procfs: Add a little, primitive procfs file system. (2013-11-13).
|
||||
* fs/binfs/README.txt: Add a README file for binfs (2013-11-13).
|
||||
* arch/arm/src/stm32/Kconfig: Add missing setup of CAN TSEG1 and
|
||||
TSEG2 values. From Martin Lederhilger (2013-11014).
|
||||
|
||||
|
|
|
@ -3031,6 +3031,17 @@ config CAN2_BAUD
|
|||
---help---
|
||||
CAN2 BAUD rate. Required if STM32_CAN2 is defined.
|
||||
|
||||
config CAN_TSEG1
|
||||
int "TSEG1 quanta"
|
||||
default 6
|
||||
---help---
|
||||
The number of CAN time quanta in segment 1. Default: 6
|
||||
|
||||
config CAN_TSEG2
|
||||
int "TSEG2 quanta"
|
||||
default 7
|
||||
---help---
|
||||
The number of CAN time quanta in segment 2. Default: 7
|
||||
endmenu
|
||||
|
||||
if STM32_LTDC
|
||||
|
|
|
@ -16,7 +16,7 @@ CONFIG_HOST_LINUX=y
|
|||
#
|
||||
# Build Configuration
|
||||
#
|
||||
CONFIG_APPS_DIR="../apps"
|
||||
# CONFIG_APPS_DIR="../apps"
|
||||
# CONFIG_BUILD_2PASS is not set
|
||||
|
||||
#
|
||||
|
@ -105,7 +105,9 @@ CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y
|
|||
# CONFIG_SERIAL_TERMIOS is not set
|
||||
# CONFIG_CAN_EXTID is not set
|
||||
CONFIG_CAN1_BAUD=250000
|
||||
CONFIG_CAN_LOOPBACK=y
|
||||
CONFIG_CAN_TSEG1=6
|
||||
CONFIG_CAN_TSEG2=8
|
||||
# CONFIG_CAN_LOOPBACK is not set
|
||||
# CONFIG_NET_MULTICAST is not set
|
||||
# CONFIG_USBHOST_BULK_DISABLE is not set
|
||||
# CONFIG_USBHOST_INT_DISABLE is not set
|
||||
|
@ -704,7 +706,7 @@ CONFIG_EXAMPLES_BUTTONS_NAME4="Button 4"
|
|||
CONFIG_EXAMPLES_BUTTONS_NAME5="Button 5"
|
||||
CONFIG_EXAMPLES_BUTTONS_NAME6="Button 6"
|
||||
CONFIG_EXAMPLES_BUTTONS_NAME7="Button 7"
|
||||
CONFIG_EXAMPLES_CAN=y
|
||||
# CONFIG_EXAMPLES_CAN is not set
|
||||
# CONFIG_EXAMPLES_CC3000BASIC is not set
|
||||
# CONFIG_EXAMPLES_COMPOSITE is not set
|
||||
# CONFIG_EXAMPLES_CXXTEST is not set
|
||||
|
|
Loading…
Reference in New Issue