How to develop an OP-TEE Trusted Application with STM32CubeIDE

Revision as of 19:03, 1 December 2021 by Registered User (Created page with "This article is a guideline to OP-TEE trusted application support, which is fully integrated from release 1.7.1.21_MP13-A1 of STM32CubeIDE. It proposes creating one OP-TEE t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This article is a guideline to OP-TEE trusted application support, which is fully integrated from release 1.7.1.21_MP13-A1 of STM32CubeIDE.

It proposes creating one OP-TEE trusted application project to implement:

  • user space hello world with call to OP-TEE trusted application
  • OP-TEE trusted application itself with UUID support

1. Prerequisites[edit source]

Minimum hardware

  • STM32MP135F-DK-based board
  • Linux console
  • Ethernet (or Ethernet over USB) for connection to Linux® Cortex®-A

Minimum software

2. STM32CubeIDE Linux user space[edit source]

From STM32CubeIDE release 1.6.0 it is possible to enrich an STM32MP15x hierarchical project with User Space type project.

STM32MP15 project enriched with Linux user space projects


3. Eclipse CDT STM32 Linux user space[edit source]

From STM32CubeIDE release 1.6.0 it is also possible to easily create a STM32MP15x user space project from standard CDT Eclipse wizard.

In that case, the user space project is not part of any STM32MP15x hierarchical project and appears as a standalone project in Eclipse project explorer view: myCdtProject here after:

CDT Linux user space project'