secure-ec-poc: QEMU#16
Open
bjackson312006 wants to merge 12 commits into
Open
Conversation
bjackson312006
marked this pull request as ready for review
July 7, 2026 18:12
…ition to just ARM64
Adds `native-sim` support to the `secure-ec-poc.qemu` branch. This PR contains some miscellaneous re-revving to accommodate updates to `embedded-services`, which I had to pull in to access the changes made in [this other PR](OpenDevicePartnership/embedded-services#913). Most of these changes were in `fuel_gauge.rs` and `battery.rs`, due to the `battery-service` API update. The `native_sim` target can be compiled via the `./native-sim.sh` script. Everything here operates pretty similarly to the `qemu_cortex_m3` target (i.e., all the drivers are simmed), but you're able to actually interface the UART with stuff on your host computer (i.e., the test-tui).
….nativesim Revert "secure-ec-poc: Native Sim"
Member
|
@bjackson312006 Please resolve merge conflicts when you get a chance, then I can review. |
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.
This PR adds a QEMU build for the Zephyr-ODP PoC. It can be built and ran via the
./qemu.shscript.The build targets
qemu_cortex_m3. The devicetree consists of several emulated drivers:sbs,sbs-gauge-new-api) and emulated temp sensor (fintek,f75303), running on an emulated I2C bus (zephyr,i2c-emul-controller)zephyr,tach-gpio) running on an emulated GPIO controller (zephyr,gpio-emul)pwm-faninstance running on an emulated PWM driver (zephyr,pwm-emul)rs,rtcinstance running on an emulated RTC driver (rtc_emul)zephyr,uart-emul)Closes #9