1 /***************************************************************************//**
2  * @file
3  * @brief CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories
4  *        microcontroller devices
5  *
6  * This is a convenience header file for defining the part number on the
7  * build command line, instead of specifying the part specific header file.
8  *
9  * @verbatim
10  * Example: Add "-DEFM32G890F128" to your build options, to define part
11  *          Add "#include "em_device.h" to your source files
12  * @endverbatim
13  *
14  *******************************************************************************
15  * # License
16  * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
17  *******************************************************************************
18  *
19  * SPDX-License-Identifier: Zlib
20  *
21  * The licensor of this software is Silicon Laboratories Inc.
22  *
23  * This software is provided 'as-is', without any express or implied
24  * warranty. In no event will the authors be held liable for any damages
25  * arising from the use of this software.
26  *
27  * Permission is granted to anyone to use this software for any purpose,
28  * including commercial applications, and to alter it and redistribute it
29  * freely, subject to the following restrictions:
30  *
31  * 1. The origin of this software must not be misrepresented; you must not
32  *    claim that you wrote the original software. If you use this software
33  *    in a product, an acknowledgment in the product documentation would be
34  *    appreciated but is not required.
35  * 2. Altered source versions must be plainly marked as such, and must not be
36  *    misrepresented as being the original software.
37  * 3. This notice may not be removed or altered from any source distribution.
38  *
39  ******************************************************************************/
40 
41 #ifndef EM_DEVICE_H
42 #define EM_DEVICE_H
43 
44 #if defined(EFM32PG12B500F1024GL125)
45 #include "efm32pg12b500f1024gl125.h"
46 
47 #elif defined(EFM32PG12B500F1024GM48)
48 #include "efm32pg12b500f1024gm48.h"
49 
50 #elif defined(EFM32PG12B500F1024IL125)
51 #include "efm32pg12b500f1024il125.h"
52 
53 #elif defined(EFM32PG12B500F1024IM48)
54 #include "efm32pg12b500f1024im48.h"
55 
56 #else
57 #error "em_device.h: PART NUMBER undefined"
58 #endif
59 #endif /* EM_DEVICE_H */
60