Skip to content

Conversation

@Wassasin
Copy link
Contributor

This PR adds a reference implementation on how to use Trustzone in XIP mode. A NonSecure application is given access to all peripherals, with exception of the OTP peripheral and the memory range belonging to the Secure mini bootloader. The mini bootloader has a veneer giving access to some trivial function.

Note this PR also makes a small change to the DMA peripheral to enable the creation of raw transfers, in order to showcase that the DMA master can also be configured to be NonSecure.

@Wassasin Wassasin requested a review from a team as a code owner November 10, 2025 15:15
@Wassasin
Copy link
Contributor Author

Using the stable compiler depends on rust-lang/rust#81391 and rust-lang/rust#75835.

felipebalbi
felipebalbi previously approved these changes Nov 10, 2025
@Wassasin
Copy link
Contributor Author

Will rebase once #508 is merged.

kurtjd pushed a commit that referenced this pull request Dec 15, 2025
…ecks for unwrap (#526)

After merging main into #507 CI failed on a remaining `unwrap` in the
codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

4 participants