Mbed OS Reference
Loading...
Searching...
No Matches
flash_s Struct Reference

Target flash configuration For targets not supporting TrustZone, its flash_set_target_config must define target_config. More...

#include <flash_data.h>

Data Fields

const flash_target_config_ttarget_config
 Normal/secure flash configuration structure for targets not supporting/supporting TrustZone. More...
 

Detailed Description

Target flash configuration For targets not supporting TrustZone, its flash_set_target_config must define target_config.

For targets supporting TrustZone, it has the following requirements:

  1. Flash IAP H/W can only configure to secure. It can access both secure/non-secure flash.
  2. Flash IAP port is for secure build only. It exports secure functions for non-secure build.
  3. In Flash IAP port, flash_set_target_config must define both target_config/target_config_ns for secure/non-secure flash respectively.
  4. Non-secure application can access its non-secure flash only through secure flash IAP functions. It cannot access secure flash.

Definition at line 58 of file flash_data.h.

Field Documentation

◆ target_config

const flash_target_config_t* target_config

Normal/secure flash configuration structure for targets not supporting/supporting TrustZone.

Definition at line 59 of file flash_data.h.