mbed-os/components/TARGET_PSA
Kevin Bracey 815a00d097 Permit non-TrustZone ARMv8 build
Change the heuristic for selection of CMSE in the tools python, so that
a non-TrustZone ARMv8 build can happen.

Ideally we would have more direct flagging in the targets, but this
refines the heuristic so the necessary behaviour can be easily
achieved.

* DOMAIN_NS=1 is based purely on the `-NS` suffix on the core name.

* Enabling CMSE in the compiler and outputting a secure import library
  is now enabled when the core doesn't have an `-NS` suffix by either
  the target label `TFM` being present or the flag `trustzone` being set.

This covers the existing ARMv8-M behaviour - TF-M builds have the TFM
label, as per its documentation; M2351 secure builds have no explicit
flagging, so we ensure that the M2351_NS target has the trustzone flag
set, and the out-of-tree secure target inherits that.
2019-05-17 15:38:41 +01:00
..
TARGET_MBED_SPM Delete autogenerated files 2019-05-03 12:36:55 +01:00
TARGET_TFM Permit non-TrustZone ARMv8 build 2019-05-17 15:38:41 +01:00
TESTS Fix crypto compliance tests 2019-03-12 10:06:40 -05:00
inc Update PSA code generator 2019-05-03 12:37:24 +01:00
services Update PSA includes to autogenerated files 2019-05-03 12:37:49 +01:00
mbed_lib.json Allow baremetal to build by removing PSA 2019-03-12 10:06:39 -05:00