python3-{canmatrix,canopen}: Add recipes#1059
Open
N3xp7im3 wants to merge 2 commits into
Open
Conversation
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>
There was a problem hiding this comment.
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-canopenrecipe (v2.4.1) with a runtime dependency onpython3-can. - Added a
python3-canmatrixrecipe (v1.2) and declared its Python runtime dependencies. - Added a
PACKAGECONFIGtoggle inpython3-canopento optionally pull inpython3-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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add recipes for the python3
canmatrixandcanopenpackages.Both packages are useful when interacting with CAN.
canopenoptionally depends oncanmatrix, which is why I send thosepatches together.