mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Embed: (wiki syntax)

« Back to documentation index

flash_s Struct Reference

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.
const flash_target_config_ttarget_config_ns
 Non-secure flash configuration structure for targets supporting TrustZone.

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

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

Definition at line 59 of file flash_data.h.

Non-secure flash configuration structure for targets supporting TrustZone.

Definition at line 61 of file flash_data.h.