home.social

#zencan — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #zencan, aggregated by home.social.

  1. Working on a #zencan bootloader, so trying to get program size as small as possible. Currently, I'm generating accessors for each object, which leads to many functions. Perhaps these could be one function with ptr and size args...

    Also faced with the challenge of how to set compilation config options on a dependency (zencan-node) from the top-level build.rs which reads a config file. It seems like it is not possible...

    This has been helpful: github.com/jrmuizel/binary-siz

    #rustlang

  2. @oshpark boards in today! This is a USB/CAN-FD adapter, to start working on CAN-FD support in #zencan. It's an stm32g0 + TCAN1044.

    I'm also considering standardizing on these JST XH connectors for CAN stuff, mainly b/c they have these right angle board-to-board plgus to make PCB "T"s or terminators. The friction fit is pretty good? But I'm a little worried about wiggling loose over time in a vehicle. Interested in other connector suggestions for this...

    #electronics #canbus #stm32 #embedded