summaryrefslogtreecommitdiff
path: root/source/hal/cmsis_device/include
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/cmsis_device/include')
-rw-r--r--source/hal/cmsis_device/include/RTE_components.h (renamed from source/hal/cmsis_device/include/cmsis.h)17
-rw-r--r--source/hal/cmsis_device/include/irqs.h39
2 files changed, 4 insertions, 52 deletions
diff --git a/source/hal/cmsis_device/include/cmsis.h b/source/hal/cmsis_device/include/RTE_components.h
index 9d6326a..8988e9b 100644
--- a/source/hal/cmsis_device/include/cmsis.h
+++ b/source/hal/cmsis_device/include/RTE_components.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2022 Arm Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef BAREMETAL_CMSIS_H
-#define BAREMETAL_CMSIS_H
+#ifndef RTE_COMPONENTS_H
+#define RTE_COMPONENTS_H
#if defined(CPU_HEADER_FILE)
#include CPU_HEADER_FILE /* Cortex M system header file from CMSIS. */
#endif /* CPU_HEADER_FILE */
-#include "irqs.h" /* Interrupt definitions file. */
-/* Addition to template functions should be mentioned here. */
-
-/**
- * @brief Gets the internal processor clock.
- * @return Clock frequency as unsigned 32 bit value.
- **/
-uint32_t GetSystemCoreClock(void);
-
-#endif /* BAREMETAL_CMSIS_H */
+#endif /* RTE_COMPONENTS_H */
diff --git a/source/hal/cmsis_device/include/irqs.h b/source/hal/cmsis_device/include/irqs.h
deleted file mode 100644
index 234edd7..0000000
--- a/source/hal/cmsis_device/include/irqs.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2021 Arm Limited. All rights reserved.
- * SPDX-License-Identifier: Apache-2.0
- *
- * 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 IRQS_H
-#define IRQS_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <stdint.h>
-
-/* Interrupt handler function type. */
-typedef void (*const irq_vec_type)(void);
-
-/**
- * @brief Reset interrupt handler and also, the starting
- * point of the application.
- **/
-extern void Reset_Handler(void);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* IRQS_H */