-
Notifications
You must be signed in to change notification settings - Fork 146
/
SSE315.h
92 lines (83 loc) · 3.72 KB
/
SSE315.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* Copyright (c) 2024 Arm Limited. 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 __CORSTONE315_H__
#define __CORSTONE315_H__
#ifdef __cplusplus
extern "C" {
#endif
/* ====================== Start of section using anonymous unions ============== */
#if defined( __CC_ARM )
#pragma push
#pragma anon_unions
#elif defined( __ICCARM__ )
#pragma language=extended
#elif defined( __ARMCC_VERSION ) && ( __ARMCC_VERSION >= 6010050 )
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc11-extensions"
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#elif defined( __GNUC__ )
/* anonymous unions are enabled by default */
#elif defined( __TMS470__ )
/* anonymous unions are enabled by default */
#elif defined( __TASKING__ )
#pragma warning 586
#elif defined( __CSMC__ )
/* anonymous unions are enabled by default */
#else /* if defined( __CC_ARM ) */
#warning Not supported compiler type
#endif /* if defined( __CC_ARM ) */
/* ======== Configuration of Core Peripherals ================================== */
#define __CM85_REV 0x0002U /* Core revision r0p2 */
#define __SAUREGION_PRESENT 1U /* SAU regions present */
#define __MPU_PRESENT 1U /* MPU present */
#define __VTOR_PRESENT 1U /* VTOR present */
#define __NVIC_PRIO_BITS 3U /* Number of Bits used for Priority Levels */
#define __Vendor_SysTickConfig 0U /* Set to 1 if different SysTick Config is used */
#define __FPU_PRESENT 1U /* FPU present */
#define __FPU_DP 1U /* double precision FPU */
#define __DSP_PRESENT 1U /* DSP extension present */
#define __PMU_PRESENT 1U /* PMU present */
#define __PMU_NUM_EVENTCNT 8U /* Number of PMU event counters */
#define __ICACHE_PRESENT 1U /* Instruction Cache present */
#define __DCACHE_PRESENT 1U /* Data Cache present */
#include "../../Board/Platform/platform_irq.h"
#include "core_cm85.h" /* Processor and core peripherals */
#include "../../Board/Platform/platform_base_address.h"
#include "../../Board/Platform/platform_regs.h"
#include "../../Board/Platform/platform_pins.h"
#include "system_SSE315.h"
/* ===================== End of section using anonymous unions ================ */
#if defined( __CC_ARM )
#pragma pop
#elif defined( __ICCARM__ )
/* leave anonymous unions enabled */
#elif ( __ARMCC_VERSION >= 6010050 )
#pragma clang diagnostic pop
#elif defined( __GNUC__ )
/* anonymous unions are enabled by default */
#elif defined( __TMS470__ )
/* anonymous unions are enabled by default */
#elif defined( __TASKING__ )
#pragma warning restore
#elif defined( __CSMC__ )
/* anonymous unions are enabled by default */
#else /* if defined( __CC_ARM ) */
#warning Not supported compiler type
#endif /* if defined( __CC_ARM ) */
#ifdef __cplusplus
}
#endif
#endif /* __CORSTONE315_H__ */