wg icon indicating copy to clipboard operation
wg copied to clipboard

embedded-can appears to be in limbo

Open reneherrero opened this issue 1 year ago • 4 comments

Hi,

There's much confusion around the state and direction of embedded-can:

  1. The stm32 fdcan project has commented it out
  2. According to the stm32 bxcan project, the embedded-can crate is deprecated.
  3. There's a mismatch in uniformity compared to embedded-hal
  4. CAN FD is a pretty big thing as it bumps the payload size from 8 bytes to 64 bytes, but there's no word on that

Can anyone shed some light into the matter?

Thanks

reneherrero avatar May 06 '24 15:05 reneherrero

IMHO, this is causing fragmentation in the ecosystem

tristanguerragomez avatar May 06 '24 15:05 tristanguerragomez

@reneherrero @tristanguerragomez glad to see others share my concerns about the state of CAN in the ecosystem.

I've just gotten my PR merged (https://github.com/rust-embedded/embedded-hal/pull/612) that adds defmt traits to embedded-can so I think there is appetite from the maintainers for improvement, there just isn't anyone to do it.

I'm hoping to work on CAN FD in the coming weeks which should pave the way for the fdcan crate to properly support the embedded-can traits.

liamkinne avatar Jul 05 '24 13:07 liamkinne

Any improvements are definitely welcomed and encouraged. However, this is a volunteer-based project where each person has specific interests. In the past, there simply has been more interest in the traits included in embedded-hal, which is why that is more polished. We rely on the whole community to engage in discussions and especially to make proposals for improvements and/or to solve problems that arise in the implementations across the ecosystem. As I said, please feel encouraged to drive CAN support forward if you are interested in it. You are most welcome to.

eldruin avatar Jul 05 '24 19:07 eldruin