-
Notifications
You must be signed in to change notification settings - Fork 174
qemu: Pull in I2C device emulation support for ARM targets #449
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
qemu: Pull in I2C device emulation support for ARM targets #449
Conversation
|
DNM until the QEMU PR is merged and the commit SHA is updated. |
|
@microbuilder I have added this as per #421 (comment). Please test it and let me know if it works properly. p.s. this time, I have requested the AArch64 Linux build as well :) |
|
@stephanosio Thanks. Put some usage comments here, but I'll of course test once this is built: zephyrproject-rtos/qemu#4 (comment) |
release-notes.md
Outdated
|
|
||
| - qemu: | ||
| * Updated to QEMU 6.2 release. | ||
| * Added LSM303DLHC magnetometer support. |
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.
This PR will actually pull in a number of optional I2C sensors if I2C_DEVICES is enabled during QEMU builds, although LSM303DLHC is the main use case since Zephyr has support for that device out of the box, and was what I was hoping to enable in CI for testing I2C.
That is also the only device I've actively tested with Zephyr.
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.
Specifically:
RTC:
- config DS1338
- config M41T80
Sensors:
- config TMP105
- config TMP421
- config DPS310
- config EMC141X
- config ADM1272
- config MAX34451
- config LSM303DLHC_MAG
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.
This PR will actually pull in a number of optional I2C sensors if
I2C_DEVICESis enabled during QEMU builds, although LSM303DLHC is the main use case since Zephyr has support for that device out of the box, and was what I was hoping to enable in CI for testing I2C.
ok, I will try to update the commit message and the release notes to reflect that.
af8463e to
b7518f2
Compare
|
FYI @MaureenHelm @yperess @erwango Test build will be available here. |
|
Test build can be downloaded here: |
Looks good to me. Thanks for the AArch64 build to make testing easier. |
This commit pulls in the patches required to support the emulation of the I2C devices (e.g. LSM303DLHC magnetometer) on the ARM targets. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
b7518f2 to
b4f9fa3
Compare
|
QEMU PR merged and updated commit SHA. |
This commit pulls in the patches required to support the emulation of
the I2C devices (e.g. LSM303DLHC magnetometer) on the ARM targets.
Signed-off-by: Stephanos Ioannidis root@stephanos.io
QEMU PR: zephyrproject-rtos/qemu#4