Skip to content

python3-{canmatrix,canopen}: Add recipes#1059

Open
N3xp7im3 wants to merge 2 commits into
openembedded:masterfrom
N3xp7im3:upstreaming-can-packages
Open

python3-{canmatrix,canopen}: Add recipes#1059
N3xp7im3 wants to merge 2 commits into
openembedded:masterfrom
N3xp7im3:upstreaming-can-packages

Conversation

@N3xp7im3

Copy link
Copy Markdown

Add recipes for the python3 canmatrix and canopen packages.
Both packages are useful when interacting with CAN.

canopen optionally depends on canmatrix, which is why I send those
patches together.

N3xp7im3 added 2 commits July 22, 2026 16:17
Canmatrix implements a "Python Can Matrix Object", which describes the can-communication
and the needed objects (Boardunits, Frames, Signals, Values, ...).

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
A Python implementation of the CANopen standard.

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds new BitBake recipes in meta-python to package the canopen and canmatrix Python libraries, enabling CAN/CANopen tooling to be built and included in Yocto images via OpenEmbedded.

Changes:

  • Added a python3-canopen recipe (v2.4.1) with a runtime dependency on python3-can.
  • Added a python3-canmatrix recipe (v1.2) and declared its Python runtime dependencies.
  • Added a PACKAGECONFIG toggle in python3-canopen to optionally pull in python3-canmatrix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb New recipe for the canopen Python package with optional canmatrix enablement via PACKAGECONFIG.
meta-python/recipes-devtools/python/python3-canmatrix_1.2.bb New recipe for the canmatrix Python package (dependency completeness needs adjustment).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread meta-python/recipes-devtools/python/python3-canmatrix_1.2.bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants