]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/Device/SiliconLabs/EFM32PG1B/Include/em_device.h
Add Pearl Gecko demo.
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / Device / SiliconLabs / EFM32PG1B / Include / em_device.h
1 /**************************************************************************//**\r
2  * @file em_device.h\r
3  * @brief CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories\r
4  *        microcontroller devices\r
5  *\r
6  * This is a convenience header file for defining the part number on the\r
7  * build command line, instead of specifying the part specific header file.\r
8  *\r
9  * @verbatim\r
10  * Example: Add "-DEFM32G890F128" to your build options, to define part\r
11  *          Add "#include "em_device.h" to your source files\r
12  *\r
13  *\r
14  * @endverbatim\r
15  * @version 4.2.1\r
16  ******************************************************************************\r
17  * @section License\r
18  * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>\r
19  ******************************************************************************\r
20  *\r
21  * Permission is granted to anyone to use this software for any purpose,\r
22  * including commercial applications, and to alter it and redistribute it\r
23  * freely, subject to the following restrictions:\r
24  *\r
25  * 1. The origin of this software must not be misrepresented; you must not\r
26  *    claim that you wrote the original software.@n\r
27  * 2. Altered source versions must be plainly marked as such, and must not be\r
28  *    misrepresented as being the original software.@n\r
29  * 3. This notice may not be removed or altered from any source distribution.\r
30  *\r
31  * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.\r
32  * has no obligation to support this Software. Silicon Laboratories, Inc. is\r
33  * providing the Software "AS IS", with no express or implied warranties of any\r
34  * kind, including, but not limited to, any implied warranties of\r
35  * merchantability or fitness for any particular purpose or warranties against\r
36  * infringement of any proprietary rights of a third party.\r
37  *\r
38  * Silicon Laboratories, Inc. will not be liable for any consequential,\r
39  * incidental, or special damages, or any other relief, or for any claim by\r
40  * any third party, arising from your use of this Software.\r
41  *\r
42  *****************************************************************************/\r
43 \r
44 #ifndef EM_DEVICE_H\r
45 #define EM_DEVICE_H\r
46 \r
47 #if defined(EFM32PG1B100F128GM32)\r
48 #include "efm32pg1b100f128gm32.h"\r
49 \r
50 #elif defined(EFM32PG1B100F256GM32)\r
51 #include "efm32pg1b100f256gm32.h"\r
52 \r
53 #elif defined(EFM32PG1B200F128GM32)\r
54 #include "efm32pg1b200f128gm32.h"\r
55 \r
56 #elif defined(EFM32PG1B200F128GM48)\r
57 #include "efm32pg1b200f128gm48.h"\r
58 \r
59 #elif defined(EFM32PG1B200F256GM32)\r
60 #include "efm32pg1b200f256gm32.h"\r
61 \r
62 #elif defined(EFM32PG1B200F256GM48)\r
63 #include "efm32pg1b200f256gm48.h"\r
64 \r
65 #else\r
66 #error "em_device.h: PART NUMBER undefined"\r
67 #endif\r
68 #endif /* EM_DEVICE_H */\r