This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 58be428e377 arch/arm/src/samv7/Kconfig: allow 0 in MCANx_RXFIFOx_SIZE
58be428e377 is described below
commit 58be428e3776f4b911ab77eab000235cbe66b979
Author: Michal Lenc <[email protected]>
AuthorDate: Thu Dec 4 14:07:37 2025 +0100
arch/arm/src/samv7/Kconfig: allow 0 in MCANx_RXFIFOx_SIZE
Zero can be used to disable the FIFO queue. Fix the range to allow
to configure this value.
Signed-off-by: Michal Lenc <[email protected]>
---
arch/arm/src/samv7/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/src/samv7/Kconfig b/arch/arm/src/samv7/Kconfig
index 72cf5326099..257096a71a3 100644
--- a/arch/arm/src/samv7/Kconfig
+++ b/arch/arm/src/samv7/Kconfig
@@ -3681,7 +3681,7 @@ endchoice # MCAN0 RX buffer element size
config SAMV7_MCAN0_RXFIFO0_SIZE
int "MCAN0 RX FIFO0 size"
default 8
- range 1 64
+ range 0 64
---help---
Number of receive FIFO 0 elements. Zero disables FIFO 0.
@@ -3725,7 +3725,7 @@ endchoice # MCAN0 RX buffer element size
config SAMV7_MCAN0_RXFIFO1_SIZE
int "MCAN0 RX FIFO1 size"
default 4
- range 1 64
+ range 0 64
---help---
Number of receive FIFO 1 elements for MCAN0. Zero disables
FIFO 1.
@@ -3997,7 +3997,7 @@ endchoice # MCAN1 RX buffer element size
config SAMV7_MCAN1_RXFIFO0_SIZE
int "MCAN1 RX FIFO0 size"
default 8
- range 1 64
+ range 0 64
---help---
Number of receive FIFO 0 elements. Zero disables FIFO 0.
@@ -4041,7 +4041,7 @@ endchoice # MCAN1 RX buffer element size
config SAMV7_MCAN1_RXFIFO1_SIZE
int "MCAN1 RX FIFO1 size"
default 4
- range 1 64
+ range 0 64
---help---
Number of receive FIFO 1 elements for MCAN1. Zero disables
FIFO 1.