Page 1 of 1

hal_can.h should define CANRxFrame/CANTxFrame

Posted: Thu Apr 04, 2019 5:41 pm
by faisal
hal_can.h should define the CANRxFrame/CANTxFrame structures. The structure definitions are currently entirely inside hal_can_lld.h . If there are any platform specific members needed (for example, FMI and TIME in STM32), those should be in macros defined in hal_can_lld.h, and included at the end of the CAN frame structures in hal_can.h .

Re: hal_can.h should define CANRxFrame/CANTxFrame

Posted: Thu Apr 04, 2019 6:12 pm
by Giovanni
I will eventually rework this after evaluating the changes required for CAN FD which uses different frames.

Giovanni