Kevin Peng | 62a8711 | 2020-07-07 15:07:46 +0800 | [diff] [blame] | 1 | /* |
Summer Qin | e242c63 | 2020-09-03 11:02:38 +0800 | [diff] [blame] | 2 | * Copyright (c) 2017-2020, Arm Limited. All rights reserved. |
Kevin Peng | 62a8711 | 2020-07-07 15:07:46 +0800 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <stdio.h> |
| 9 | #include "cmsis_compiler.h" |
| 10 | |
| 11 | #ifndef __TFM_INTEG_TEST_H__ |
| 12 | #define __TFM_INTEG_TEST_H__ |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | /* Avoids the semihosting issue */ |
| 19 | #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
| 20 | __asm(" .global __ARM_use_no_argv\n"); |
| 21 | #endif |
| 22 | |
| 23 | /** |
| 24 | * \brief Simple macro to mark UNUSED variables |
| 25 | * |
| 26 | */ |
| 27 | #define UNUSED_VARIABLE(X) ((void)(X)) |
| 28 | |
| 29 | #ifdef TEST_FRAMEWORK_NS |
| 30 | /** |
| 31 | * \brief Main test application for the RTX-TFM core |
| 32 | * integration tests |
| 33 | * |
| 34 | */ |
| 35 | void test_app(void *argument); |
| 36 | #endif /* TEST_FRAMEWORK_NS */ |
| 37 | |
Kevin Peng | 62a8711 | 2020-07-07 15:07:46 +0800 | [diff] [blame] | 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif |
| 41 | |
| 42 | #endif /* __TFM_INTEG_TEST_H__ */ |