VSF Documented
Device.h
Go to the documentation of this file.
1/*-----------------------------------------------------------------------------
2 * Name: Device.h
3 * Purpose: Include the correct device header file
4 *----------------------------------------------------------------------------*/
5
6/* Copyright (c) 2011 - 2017 ARM LIMITED
7
8 All rights reserved.
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions are met:
11 - Redistributions of source code must retain the above copyright
12 notice, this list of conditions and the following disclaimer.
13 - Redistributions in binary form must reproduce the above copyright
14 notice, this list of conditions and the following disclaimer in the
15 documentation and/or other materials provided with the distribution.
16 - Neither the name of ARM nor the names of its contributors may be used
17 to endorse or promote products derived from this software without
18 specific prior written permission.
19 *
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
24 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31 ---------------------------------------------------------------------------*/
32
33#ifndef __DEVICE_H
34#define __DEVICE_H
35
36#if defined CMSDK_CM0
37 #include "../../../../Device/CMSDK_CM0/Include/CMSDK_CM0.h" /* device specific header file */
38#elif defined CMSDK_CM0plus
39 #include "../../../../Device/CMSDK_CM0plus/Include/CMSDK_CM0plus.h" /* device specific header file */
40#elif defined CMSDK_CM3
41 #include "../../../../Device/CMSDK_CM3/Include/CMSDK_CM3.h" /* device specific header file */
42#elif defined CMSDK_CM4
43 #include "../../../../Device/CMSDK_CM4/Include/CMSDK_CM4.h" /* device specific header file */
44#elif defined CMSDK_CM4_FP
45 #include "../../../../Device/CMSDK_CM4/Include/CMSDK_CM4_FP.h" /* device specific header file */
46#elif defined CMSDK_CM7
47 #include "../../../../Device/CMSDK_CM7/Include/CMSDK_CM7.h" /* device specific header file */
48#elif defined CMSDK_CM7_SP
49 #include "../../../../Device/CMSDK_CM7/Include/CMSDK_CM7_SP.h" /* device specific header file */
50#elif defined CMSDK_CM7_DP
51 #include "../../../../Device/CMSDK_CM7/Include/CMSDK_CM7_DP.h" /* device specific header file */
52#elif defined CMSDK_ARMv8MBL
53 #include "../../../../Device/CMSDK_ARMv8MBL/Include/CMSDK_ARMv8MBL.h" /* device specific header file */
54#elif defined CMSDK_ARMv8MML
55 #include "../../../../Device/CMSDK_ARMv8MML/Include/CMSDK_ARMv8MML.h" /* device specific header file */
56#elif defined CMSDK_ARMv8MML_SP
57 #include "../../../../Device/CMSDK_ARMv8MML/Include/CMSDK_ARMv8MML_SP.h" /* device specific header file */
58#elif defined CMSDK_ARMv8MML_DP
59 #include "../../../../Device/CMSDK_ARMv8MML/Include/CMSDK_ARMv8MML_DP.h" /* device specific header file */
60
61#else
62 #warning "no appropriate header file found!"
63#endif
64
65#endif /* __DEVICE_H */