drivers: can: rewrite the CAN shell module
Rewrite the CAN shell module to catch up with the added CAN controller API functionality. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
56e0ff09d7
commit
2f73225aa8
2 changed files with 741 additions and 446 deletions
|
@ -24,13 +24,31 @@ config CAN_INIT_PRIORITY
|
|||
CAN driver device initialization priority.
|
||||
|
||||
config CAN_SHELL
|
||||
bool "CAN Shell"
|
||||
bool "CAN shell"
|
||||
default y
|
||||
depends on SHELL
|
||||
select POLL
|
||||
help
|
||||
Enable CAN Shell for testing.
|
||||
|
||||
if CAN_SHELL
|
||||
|
||||
config CAN_SHELL_TX_QUEUE_SIZE
|
||||
int "CAN shell transmit queue size"
|
||||
default 5
|
||||
range 1 256
|
||||
help
|
||||
Maximum number of events in the CAN shell transmit queue.
|
||||
|
||||
config CAN_SHELL_RX_QUEUE_SIZE
|
||||
int "CAN shell receive queue size"
|
||||
default 5
|
||||
range 1 256
|
||||
help
|
||||
Maximum number of CAN frames in the CAN shell receive queue.
|
||||
|
||||
endif # CAN_SHELL
|
||||
|
||||
config CAN_STATS
|
||||
bool "CAN controller device statistics"
|
||||
depends on STATS
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue