mirror of https://github.com/ARMmbed/mbed-os.git
CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets
- TF-M v8m secure-side implements their own TZ context APIs so need to avoid building the Mbed implementation.pull/9324/head
parent
7addb8032f
commit
d3f7abdb7c
|
@ -22,6 +22,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !TARGET_TFM
|
||||||
|
|
||||||
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
|
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
|
||||||
|
|
||||||
#include "RTE_Components.h"
|
#include "RTE_Components.h"
|
||||||
|
@ -201,3 +203,5 @@ uint32_t TZ_StoreContext_S (TZ_MemoryId_t id) {
|
||||||
return 1U; // Success
|
return 1U; // Success
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // !TARGET_TFM
|
||||||
|
|
Loading…
Reference in New Issue