mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SocketCAN: add CAN error definitions
This commit is contained in:
@@ -26,6 +26,10 @@ config NET_CAN_HAVE_CANFD
|
||||
bool
|
||||
default n
|
||||
|
||||
config NET_CAN_HAVE_ERRORS
|
||||
bool
|
||||
default n
|
||||
|
||||
config CAN_CONNS
|
||||
int "Number of CAN connections"
|
||||
default 4
|
||||
@@ -39,6 +43,13 @@ config NET_CAN_CANFD
|
||||
---help---
|
||||
Enable CAN FD support in SocketCAN stack
|
||||
|
||||
config NET_CAN_ERRORS
|
||||
bool "Enable CAN errors support"
|
||||
default n
|
||||
depends on NET_CAN_HAVE_ERRORS
|
||||
---help---
|
||||
Enable CAN errors support in SocketCAN stack
|
||||
|
||||
config NET_CAN_SOCK_OPTS
|
||||
bool "sockopt support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user