mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
chardriver upperCAN: support to independent set TX/RX FIFO size.
support to independent set TX/RX FIFO size. Signed-off-by: zhaohaiyang1 <zhaohaiyang1@xiaomi.com>
This commit is contained in:
@@ -695,7 +695,8 @@ MCAN1 Loopback Test
|
||||
|
||||
Device Drivers -> CAN Driver support
|
||||
CONFIG_CAN=y # Enable the upper-half CAN driver
|
||||
CONFIG_CAN_FIFOSIZE=8
|
||||
CONFIG_CAN_TXFIFOSIZE=8
|
||||
CONFIG_CAN_RXFIFOSIZE=8
|
||||
CONFIG_CAN_NPENDINGRTR=4
|
||||
|
||||
System Type -> SAMV7 Peripheral Selections
|
||||
|
||||
@@ -1288,7 +1288,8 @@ MCAN1 Loopback Test
|
||||
|
||||
Device Drivers -> CAN Driver support
|
||||
CONFIG_CAN=y # Enable the upper-half CAN driver
|
||||
CONFIG_CAN_FIFOSIZE=8
|
||||
CONFIG_CAN_TXFIFOSIZE=8
|
||||
CONFIG_CAN_RXFIFOSIZE=8
|
||||
CONFIG_CAN_NPENDINGRTR=4
|
||||
|
||||
System Type -> SAMV7 Peripheral Selections
|
||||
|
||||
@@ -385,7 +385,11 @@ Cloudctrl-specific Configuration Options
|
||||
|
||||
CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -501,7 +501,11 @@ M3 Wildfire-specific Configuration Options
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -282,7 +282,11 @@ HY-Mini specific Configuration Options
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -395,7 +395,11 @@ Shenzhou-specific Configuration Options
|
||||
|
||||
CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -444,7 +444,11 @@ STM3210E-EVAL-specific Configuration Options
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -231,7 +231,11 @@ STM32 Tiny - specific Configuration Options
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -740,7 +740,11 @@ STM32F103 Minimum - specific Configuration Options
|
||||
CONFIG_STM32_CAN2 must also be defined)
|
||||
CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
Default: 4
|
||||
|
||||
@@ -93,7 +93,12 @@ CAN
|
||||
- CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID.
|
||||
Default Standard 11-bit IDs.
|
||||
|
||||
- CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
- CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
|
||||
@@ -140,7 +140,12 @@ CAN character device
|
||||
- CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
|
||||
- CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
- CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
|
||||
@@ -144,7 +144,12 @@ CAN
|
||||
- CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default
|
||||
Standard 11-bit IDs.
|
||||
|
||||
- CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages.
|
||||
- CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests.
|
||||
|
||||
@@ -189,7 +189,13 @@ CAN
|
||||
|
||||
- CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default Standard 11-bit IDs.
|
||||
|
||||
- CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. Default: 8
|
||||
- CONFIG_CAN_TXFIFOSIZE - The size of the circular tx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_RXFIFOSIZE - The size of the circular rx buffer
|
||||
of CAN messages.
|
||||
Default: 8
|
||||
|
||||
- CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. Default: 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user