Skip to content

Commit 20cdaf8

Browse files
silabs-bozontjerome-pouiller
authored andcommitted
simplicity_sdk: Add SDK files for the MGM240 modules
Origin: Simplicity SDK License: Zlib URL: https://github.com/SiliconLabs/simplicity_sdk Commit: f107f75d25c1d92dc3d5ca16b83f1656145f4e6e Version: 2025.6.0 Purpose: Add support for MGM24 modules. Signed-off-by: Tamas Jozsi <[email protected]>
1 parent 47e71b6 commit 20cdaf8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+52363
-0
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
13+
*
14+
* @endverbatim
15+
******************************************************************************
16+
* # License
17+
* <b>Copyright 2025 Silicon Laboratories, Inc. www.silabs.com</b>
18+
******************************************************************************
19+
*
20+
* SPDX-License-Identifier: Zlib
21+
*
22+
* The licensor of this software is Silicon Laboratories Inc.
23+
*
24+
* This software is provided 'as-is', without any express or implied
25+
* warranty. In no event will the authors be held liable for any damages
26+
* arising from the use of this software.
27+
*
28+
* Permission is granted to anyone to use this software for any purpose,
29+
* including commercial applications, and to alter it and redistribute it
30+
* freely, subject to the following restrictions:
31+
*
32+
* 1. The origin of this software must not be misrepresented; you must not
33+
* claim that you wrote the original software. If you use this software
34+
* in a product, an acknowledgment in the product documentation would be
35+
* appreciated but is not required.
36+
* 2. Altered source versions must be plainly marked as such, and must not be
37+
* misrepresented as being the original software.
38+
* 3. This notice may not be removed or altered from any source distribution.
39+
*
40+
*****************************************************************************/
41+
42+
#ifndef EM_DEVICE_H
43+
#define EM_DEVICE_H
44+
#if defined(MGM240L022RNF)
45+
#include "mgm240l022rnf.h"
46+
47+
#elif defined(MGM240L022VIF)
48+
#include "mgm240l022vif.h"
49+
50+
#elif defined(MGM240L022VNF)
51+
#include "mgm240l022vnf.h"
52+
53+
#elif defined(MGM240LA22UIF)
54+
#include "mgm240la22uif.h"
55+
56+
#elif defined(MGM240LA22VIF)
57+
#include "mgm240la22vif.h"
58+
59+
#elif defined(MGM240LD22VIF)
60+
#include "mgm240ld22vif.h"
61+
62+
#elif defined(MGM240PA22VNA)
63+
#include "mgm240pa22vna.h"
64+
65+
#elif defined(MGM240PA32VNA)
66+
#include "mgm240pa32vna.h"
67+
68+
#elif defined(MGM240PA32VNN)
69+
#include "mgm240pa32vnn.h"
70+
71+
#elif defined(MGM240PB22VNA)
72+
#include "mgm240pb22vna.h"
73+
74+
#elif defined(MGM240PB32VNA)
75+
#include "mgm240pb32vna.h"
76+
77+
#elif defined(MGM240PB32VNN)
78+
#include "mgm240pb32vnn.h"
79+
80+
#elif defined(MGM240SA22VNA)
81+
#include "mgm240sa22vna.h"
82+
83+
#elif defined(MGM240SB22VNA)
84+
#include "mgm240sb22vna.h"
85+
86+
#elif defined(MGM240SD22VNA)
87+
#include "mgm240sd22vna.h"
88+
89+
#else
90+
#error "em_device.h: PART NUMBER undefined"
91+
#endif
92+
93+
#if defined(SL_CATALOG_TRUSTZONE_SECURE_CONFIG_PRESENT) && defined(SL_TRUSTZONE_NONSECURE)
94+
#error "Can't define SL_CATALOG_TRUSTZONE_SECURE_CONFIG_PRESENT and SL_TRUSTZONE_NONSECURE MACRO at the same time."
95+
#endif
96+
97+
#if defined(SL_TRUSTZONE_SECURE) && defined(SL_TRUSTZONE_NONSECURE)
98+
#error "Can't define SL_TRUSTZONE_SECURE and SL_TRUSTZONE_NONSECURE MACRO at the same time."
99+
#endif
100+
#endif /* EM_DEVICE_H */

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240l022rnf.h

Lines changed: 1544 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240l022vif.h

Lines changed: 1544 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240l022vnf.h

Lines changed: 1544 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240la22uif.h

Lines changed: 1543 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240la22vif.h

Lines changed: 1543 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240ld22vif.h

Lines changed: 1558 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240pa22vna.h

Lines changed: 1581 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240pa32vna.h

Lines changed: 1579 additions & 0 deletions
Large diffs are not rendered by default.

simplicity_sdk/platform/Device/SiliconLabs/MGM24/Include/mgm240pa32vnn.h

Lines changed: 1579 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)