Hi,

Where can I find the buffer size option in the kernel config menu? What is the default size?

On the first menu of the RT-Socket-CAN configuration options:

config XENO_DRIVERS_CAN_RXBUF_SIZE
        depends on XENO_DRIVERS_CAN
        int "Size of receive ring buffers (must be 2^N)"
        default 1024

Note that the messages are stored in "packed" format.

Does this mean that the buffer will store 1024 can_frame's ?

If yes (or even if no) when rt_dev_recv is called, does it place the last recieved message (youngest message) or the oldest (behave like a FIFO) into *Buf?

Roland


Wolfgang.


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to