-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards: others: add support for the CANbardo USB to CAN adapter board #83570
Conversation
a29fbdd
to
246f58d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit.
boards/others/canbardo/doc/index.rst
Outdated
Supported Features | ||
================== | ||
|
||
The ``canboardo`` board configuration supports the following hardware features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ``canboardo`` board configuration supports the following hardware features: | |
The ``canboardo`` board supports the following hardware features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reviewing. I've changed the text accordingly.
5a4dc61
to
f1f5b54
Compare
transceiver0: can-phy0 { | ||
compatible = "microchip,mcp2558fd", "can-transceiver-gpio"; | ||
enable-gpios = <&piod 26 GPIO_ACTIVE_LOW>; | ||
max-bitrate = <8000000>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may not be a bad idea to switch these to use DT_FREQ_M
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have refrained from doing that in the past since it reads wrong. A bitrate is not a frequency as in cycles per second, but rather measured as bit per second.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmh ok... should there be some aliases for the macros? DT_BITRATE_M
? the issue is obviously the number readability on the file though if you have the wrong one here you'd find out pretty quickly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be an enhancement, sure.
f1f5b54
to
7739163
Compare
boards/others/canbardo/doc/index.rst
Outdated
Supported Features | ||
================== | ||
|
||
The ``canboardo`` board supports the following hardware features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ``canboardo`` board supports the following hardware features: | |
The ``canbardo`` board supports the following hardware features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gah, thanks! If I had a dime for every time I had writting "CANboardo bard" during the design of this board, I'd be rich.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya I was gonna say I'm sure there is some kind of pun that I'm missing that led to this board being named the way it is, but it certainly is very typo/error-prone :)
Add support for the open hardware CANbardo Universal Serial Bus (USB) to Controller Area Network (CAN) adapter board. Signed-off-by: Henrik Brix Andersen <[email protected]>
7739163
to
093f3b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice project!
Add support for the open hardware CANbardo Universal Serial Bus (USB) to Controller Area Network (CAN) adapter board.
Documentation preview: https://builds.zephyrproject.io/zephyr/pr/83570/docs/boards/others/canbardo/doc/index.html
Note:This PR depends on #83547 being merged first (as it contains the same refactoring commit in order to add the needed SoC flash density variant).