aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlamy Liu <alamy.liu@cypress.com>2019-11-28 14:11:49 -0800
committerDavid Hu <david.hu@arm.com>2020-01-21 08:14:58 +0000
commit0285ded138a6a89ff296c57768bb99e7ac65856e (patch)
tree41c187aacfdd87bf399844c169a72b07a119bc42
parent085cc98f11db17323d0213fc4ea0b64cc605c3fd (diff)
downloadtrusted-firmware-m-0285ded138a6a89ff296c57768bb99e7ac65856e.tar.gz
Platform: PSoC64: S-IRQ: Add platform_irq.h
This file is needed to build core test suite, when IRQ test is enabled (TFM_ENABLE_IRQ_TEST). Change-Id: I5c565df381efa79a9fe2c18844fa08a89849170d Signed-off-by: Alamy Liu <alamy.liu@cypress.com>
-rw-r--r--platform/ext/target/cypress/psoc64/Device/Include/platform_irq.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/platform/ext/target/cypress/psoc64/Device/Include/platform_irq.h b/platform/ext/target/cypress/psoc64/Device/Include/platform_irq.h
new file mode 100644
index 000000000..49a6da11f
--- /dev/null
+++ b/platform/ext/target/cypress/psoc64/Device/Include/platform_irq.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2019 Arm Limited. All rights reserved.
+ * Copyright (c) 2020 Cypress Semiconductor Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __PLATFORM_IRQ_H__
+#define __PLATFORM_IRQ_H__
+
+#include "cy_device_headers.h"
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* ========================================================================== */
+/* ============= Interrupt Number Definition ================ */
+/* ========================================================================== */
+
+
+/* This file is needed to build the core test suite.
+ * All the necessary definitions are brought in by cy_device_headers.h
+ */
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PLATFORM_IRQ_H__ */