Skip to content

Add TrustEdge Zephyr RTOS Build Guide and update related files - #152

Merged
sumit-sen-dc merged 4 commits into
mainfrom
DTM-11294-zephyr-docs
Aug 21, 2026
Merged

Add TrustEdge Zephyr RTOS Build Guide and update related files#152
sumit-sen-dc merged 4 commits into
mainfrom
DTM-11294-zephyr-docs

Conversation

@PrashantKawale

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings August 21, 2026 07:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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_examples paths and adjusted sample build outputs (including OTA handler naming).
  • Enhanced native_sim flow by building the device_provision tool and adding stricter checks in provision_flash.sh.
  • Updated Zephyr sample CMakeLists MSS_DIR pathing to align with the samples/ directory structure; updated Zephyr initialize source list to pull entropy sources from samples/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.

Comment thread scripts/ci/trustedge/ci_trustedge_build_zephyr.sh Outdated
Comment thread samples/trustedge/BUILD_RUN.md
Comment thread samples/zephyr_examples/device_provision/provision_flash.sh
@sumit-sen-dc

Copy link
Copy Markdown
Collaborator

@PrashantKawale , if the commit for review comments is not in trustcore-test, lets create a PR for that as well.

@sumit-sen-dc
sumit-sen-dc merged commit cf1c4da into main Aug 21, 2026
18 checks passed
@sumit-sen-dc
sumit-sen-dc deleted the DTM-11294-zephyr-docs branch August 21, 2026 15:55
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants