Skip to content
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

Add recipes for most of the Adafruit CircuitPython Python libraries #815

Merged
merged 8 commits into from Feb 26, 2021

Conversation

mostthingsweb
Copy link
Contributor

This makes it easy to use various Adafruit products, such as the DC & Stepper Motor Bonnet.

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
@agherzan-ci
Copy link

Can one of the admins verify this patch?

Copy link
Owner

@agherzan agherzan left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@agherzan
Copy link
Owner

@agherzan-ci ok to test

@agherzan agherzan merged commit f80b8d2 into agherzan:master Feb 26, 2021
@kraj
Copy link
Collaborator

kraj commented Feb 26, 2021

Please fix them for non-rpi machine builds I am seeing

ERROR: Nothing RPROVIDES 'rpi-gpio' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb RDEPENDS on or otherwise requires it)
rpi-gpio was skipped: incompatible with machine qemuarm (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'rpi-gpio' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['rpi-gpio']
NOTE: Runtime target 'python3-adafruit-blinka' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-blinka', 'rpi-gpio']
NOTE: Runtime target 'python3-adafruit-circuitpython-busdevice' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-busdevice', 'python3-adafruit-blinka', 'rpi-gpio']
NOTE: Runtime target 'python3-adafruit-circuitpython-busdevice-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-busdevice-dev', 'python3-adafruit-blinka', 'rpi-gpio']
NOTE: Runtime target 'python3-adafruit-blinka-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-blinka-dev', 'rpi-gpio']
NOTE: Multiple providers are available for runtime ssh (dropbear, openssh)
Consider defining a PREFERRED_RPROVIDER entry to match ssh
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-motor' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb, /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-motor'
NOTE: Runtime target 'python3-adafruit-circuitpython-motor' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-motor']
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-motor-dev' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-motor-dev'
NOTE: Runtime target 'python3-adafruit-circuitpython-motor-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-motor-dev']
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-motorkit' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-motorkit'
NOTE: Runtime target 'python3-adafruit-circuitpython-motorkit' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-motorkit']
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-pca9685' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb, /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-pca9685'
NOTE: Runtime target 'python3-adafruit-circuitpython-pca9685' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-pca9685']
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-motorkit-dev' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-motorkit-dev'
NOTE: Runtime target 'python3-adafruit-circuitpython-motorkit-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-motorkit-dev']
ERROR: Nothing RPROVIDES 'python3-adafruit-circuitpython-pca9685-dev' (but /home/jenkins/oe/world/yoe/sources/meta-raspberrypi/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-adafruit-circuitpython-pca9685-dev'
NOTE: Runtime target 'python3-adafruit-circuitpython-pca9685-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-adafruit-circuitpython-pca9685-dev']

building for MACHINE = "qemuarm"

@kraj
Copy link
Collaborator

kraj commented Feb 26, 2021

@agherzan we should add a qemux86 or qemuarm builds to CI as well.

@mostthingsweb
Copy link
Contributor Author

mostthingsweb commented Feb 27, 2021 via email

@kraj
Copy link
Collaborator

kraj commented Feb 27, 2021

MACHINE="qemuarm" bitbake python3-adafruit-blinka

kraj added a commit to YoeDistro/meta-raspberrypi that referenced this pull request Feb 27, 2021
agherzan#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
agherzan pushed a commit that referenced this pull request Feb 27, 2021
#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
@agherzan
Copy link
Owner

See the follow-up PRs @mostthingsweb.

@mostthingsweb
Copy link
Contributor Author

@kraj @agherzan thank you for the fixup, sorry I haven't been in front of a computer this weekend.

ricardosalveti pushed a commit to foundriesio/meta-raspberrypi that referenced this pull request Mar 13, 2021
agherzan#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
ricardosalveti pushed a commit to foundriesio/meta-raspberrypi that referenced this pull request Mar 13, 2021
agherzan#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
ricardosalveti pushed a commit to foundriesio/meta-raspberrypi that referenced this pull request Mar 13, 2021
agherzan#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0a83508)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
agherzan pushed a commit that referenced this pull request Mar 16, 2021
#815

introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio,
however rpi-gpio is rpi specific package, and therefore should only be added
when building rpi based platforms, this makes the layer work in a
multi-bsp setup work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0a83508)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
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.

None yet

4 participants