mbed-os/tools/toolchains
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
..
__init__.py Add ARMC5 as an option for the -t argument 2019-03-24 09:48:43 +00:00
arm.py Permit non-TrustZone ARMv8 build 2019-05-17 15:38:41 +01:00
gcc.py Permit non-TrustZone ARMv8 build 2019-05-17 15:38:41 +01:00
iar.py Permit non-TrustZone ARMv8 build 2019-05-17 15:38:41 +01:00
mbed_toolchain.py Add option to keep post_binary_hook and make it default. It can be disabled by setting it to null 2019-05-17 15:35:27 +01:00