Add TrustEdge Zephyr RTOS Build Guide and update related files - #152
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates TrustEdge’s Zephyr RTOS build and sample wiring to use the samples/ layout, expands CI build behavior for native_sim, and adds a pointer from the TrustEdge sample runbook to a Zephyr build guide (note: the referenced guide file is not present in this PR checkout).
Changes:
- Updated Zephyr CI build scripts (bash + bat) to use
samples/zephyr_examplespaths and adjusted sample build outputs (including OTA handler naming). - Enhanced
native_simflow by building thedevice_provisiontool and adding stricter checks inprovision_flash.sh. - Updated Zephyr sample CMakeLists
MSS_DIRpathing to align with thesamples/directory structure; updated Zephyr initialize source list to pull entropy sources fromsamples/common.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/ci/trustedge/ci_trustedge_build_zephyr.sh | Switches example paths to samples/, builds device provisioning for native_sim, and adjusts OTA handler build/output handling. |
| scripts/ci/trustedge/ci_trustedge_build_zephyr.bat | Updates Windows Zephyr example paths to samples/zephyr_examples. |
| samples/zephyr_examples/trustedge_sample/src/main.c | Updates TrustEdge header include style for the sample build. |
| samples/zephyr_examples/trustedge_sample/CMakeLists.txt | Fixes MSS_DIR relative path for the new samples layout. |
| samples/zephyr_examples/ota_handler_sample/CMakeLists.txt | Fixes MSS_DIR relative path for the new samples layout. |
| samples/zephyr_examples/network_sample/CMakeLists.txt | Fixes MSS_DIR relative path for the new samples layout. |
| samples/zephyr_examples/device_provision/provision_flash.sh | Hardens provisioning flow (strict bash flags, cert prep, unzip checks, background process management). |
| samples/zephyr_examples/crypto_sample/CMakeLists.txt | Fixes MSS_DIR relative path for the new samples layout. |
| samples/trustedge/BUILD_RUN.md | Adds a section linking to the Zephyr RTOS build guide (link currently points to a missing file). |
| samples/common/external_rand_thread.c | Adjusts moptions.h include to point to src/common. |
| samples/common/custom_entropy.c | Adjusts moptions.h include to point to src/common. |
| projects/trustedge/zephyr/initialize_sources.txt | Updates Zephyr initialize source list to use samples/common entropy sources. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
sumit-sen-dc
approved these changes
Aug 21, 2026
Collaborator
|
@PrashantKawale , if the commit for review comments is not in trustcore-test, lets create a PR for that as well. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.