Add STM32 emulator from simulators repo#10434
Open
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
Open
Add STM32 emulator from simulators repo#10434LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR replaces the previous Renode-based STM32H753 CI run with a Docker-based STM32 simulator from the external wolfSSL/simulators repository, expanding coverage to include STM32H753 and STM32U585 and exercising HAL v1/v2 CRYP/HASH/PKA paths.
Changes:
- Add a new GitHub Actions workflow to build the STM32 simulator image and run wolfCrypt tests for H753 and U585 via a job matrix.
- Remove the Renode STM32H753 workflow and its associated Renode test firmware/build artifacts under
.github/renode-test/stm32h753/.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/stm32-sim.yml | New CI workflow that builds the STM32Sim Docker image and runs wolfCrypt tests on emulated H753 and U585 targets. |
| .github/workflows/renode-stm32h753.yml | Removes the legacy Renode-based STM32H753 CI workflow. |
| .github/renode-test/stm32h753/user_settings.h | Removes Renode-specific wolfCrypt configuration header. |
| .github/renode-test/stm32h753/toolchain-arm-none-eabi.cmake | Removes Renode firmware toolchain file. |
| .github/renode-test/stm32h753/stm32h7xx_hal_conf.h | Removes Renode-specific minimal HAL configuration header. |
| .github/renode-test/stm32h753/stm32h753.ld | Removes Renode firmware linker script. |
| .github/renode-test/stm32h753/startup_stm32h753.c | Removes Renode firmware startup/vector table implementation. |
| .github/renode-test/stm32h753/run-renode.resc | Removes Renode test script. |
| .github/renode-test/stm32h753/main.c | Removes Renode firmware main/test harness. |
| .github/renode-test/stm32h753/entrypoint.sh | Removes Renode runner/monitoring entrypoint script. |
| .github/renode-test/stm32h753/CMakeLists.txt | Removes Renode firmware build definition. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This tests a lot more than the Renode STM32H753 test, so this PR removes that and adds our own emulator for STM32H753 and STM32U585. This includes testing the v1 and v2 HAL CRYP / HASH / PKA functionality.
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 tests a lot more than the Renode STM32H753 test, so this PR removes that and adds our own emulator for STM32H753 and STM32U585. This includes testing the v1 and v2 HAL CRYP / HASH / PKA functionality.