drivers: can: increase default setting for software-limited RX filters
Increase the default number of software-limited CAN RX filters across the drivers. Some of these were chosen quite conservative, requiring custom configuration for even simple in-tree samples. Users can reduce the number of available RX filters to reduce RAM footprint as needed. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
committed by
Anas Nashif
parent
479666f26f
commit
65eee6d3d9
@@ -13,7 +13,7 @@ if CAN_MAX32
|
||||
|
||||
config CAN_MAX32_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Maximum number of filters supported by the can_add_rx_callback() API call.
|
||||
|
||||
@@ -29,7 +29,7 @@ config CAN_MCP2515_INT_THREAD_PRIO
|
||||
|
||||
config CAN_MCP2515_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Defines the array size of the callback/msgq pointers.
|
||||
|
||||
@@ -53,7 +53,7 @@ config CAN_MCP251XFD_READ_CRC_RETRIES
|
||||
|
||||
config CAN_MCP251XFD_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Maximum number of filters supported by the can_add_rx_callback() API call.
|
||||
|
||||
@@ -41,7 +41,7 @@ config CAN_MCUX_FLEXCAN_MAX_MB
|
||||
|
||||
config CAN_MCUX_FLEXCAN_MAX_FILTERS
|
||||
int "Maximum number of concurrent active RX filters"
|
||||
default 5
|
||||
default 13
|
||||
range 1 15 if SOC_SERIES_KINETIS_KE1XF || SOC_SERIES_KINETIS_K6X
|
||||
range 1 13 if (SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX) && CAN_MCUX_FLEXCAN_FD
|
||||
range 1 63 if SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX
|
||||
|
||||
@@ -22,7 +22,7 @@ config CAN_NATIVE_LINUX_RX_THREAD_PRIORITY
|
||||
|
||||
config CAN_NATIVE_LINUX_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Defines the array size of the callback/msgq pointers.
|
||||
|
||||
@@ -14,7 +14,7 @@ config CAN_RCAR
|
||||
config CAN_RCAR_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
depends on CAN_RCAR
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Defines the array size of the callback/msgq pointers.
|
||||
|
||||
@@ -11,7 +11,7 @@ config CAN_SJA1000
|
||||
config CAN_SJA1000_MAX_FILTERS
|
||||
int "Maximum number of concurrent active RX filters"
|
||||
depends on CAN_SJA1000
|
||||
default 5
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
As the NXP SJA1000 only supports one full-width RX filter, filtering of received CAN
|
||||
|
||||
@@ -37,7 +37,7 @@ config CAN_XMC4XXX_INTERNAL_BUS_MODE
|
||||
|
||||
config CAN_XMC4XXX_MAX_FILTERS
|
||||
int "Maximum number of concurrent active filters"
|
||||
default 4
|
||||
default 16
|
||||
range 1 32
|
||||
help
|
||||
Maximum number of filters supported by the can_add_rx_callback() API call.
|
||||
|
||||
Reference in New Issue
Block a user