Hi,
I am trying to get the CAN bus working with the new version. We had it working with version 0.2. This is what I have done.
ifconfig shows that the can interface is up and receiving packets, however when trying to open a socket using the can_rx example program, I get
In fact, can_rx.c would not compile because PF_CAN was not defined. I had to copy the definition of PF_CAN from the 0.2 version of can_rx.c (which is the only difference) to make it compile.
It seems that the new version expects this to be defined in <linux/socket.h> (/usr/local/arm/4.3.1-eabi-armv6/usr/include/linux/socket.h) but this is conditional on
which equates to false.
I am a little confused - can you help ? Thanks.