Skip to content

Commit

Permalink
Gecko SDK 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
silabsbot committed Jun 7, 2022
1 parent 2e82050 commit 310814a
Show file tree
Hide file tree
Showing 26,609 changed files with 1,357,695 additions and 1,997,838 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=com.silabs.sdk.stack.super

version=4.0.2
version=4.1.0

label=Gecko SDK Suite
description=Gecko SDK Suite
Expand All @@ -15,7 +15,7 @@ buildNumber=0

# Look in these locations for extra properties
# note that the single .properties input is a hack so that this will work while the stacks are updated
extendedProperties=app/bluetooth/find_my.properties app/amazon/app_amazon.properties app/mcu_example/app_mcu.properties .studio/efm32.properties app/bluetooth/esf.properties app/bluetooth/btmesh.properties app/flex/esf.properties extension/homekit/app/esf.properties app/common/app_common.properties platform/bootloader/esf.properties platform/halconfig/halconfig.properties platform/base/base.properties platform/micrium_os/micrium-krnx.properties protocol/openthread/esf.properties protocol/zigbee/esf.properties protocol/z-wave/esf.properties protocol/usb/usb.properties hardware/kit/kit.properties hardware/reference_design/ref_design.properties util/plugin/plugin.properties app/wisun/esf.properties util/third_party/tensorflow_extra/apack.properties
extendedProperties=app/bluetooth/find_my.properties app/amazon/app_amazon.properties app/mcu_example/app_mcu.properties .studio/efm32.properties app/bluetooth/esf.properties app/bluetooth/btmesh.properties app/flex/esf.properties extension/homekit/app/esf.properties app/common/app_common.properties platform/bootloader/esf.properties platform/halconfig/halconfig.properties platform/base/base.properties platform/micrium_os/micrium-krnx.properties protocol/openthread/esf.properties protocol/zigbee/esf.properties protocol/z-wave/esf.properties protocol/usb/usb.properties hardware/kit/kit.properties hardware/reference_design/ref_design.properties util/plugin/plugin.properties app/wisun/esf.properties util/third_party/tensorflow_extra/apack.properties extension/wiseconnect/esf.properties

# ISD options
baseDirectory=platform/base
Expand Down
2 changes: 2 additions & 0 deletions .studio/efm32.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# General properties are prepended with "prop."
prop.file.modulesFile=modules.xml

# Linker file for legacy genproject projects
prop.file.gccLinkerScript=linkerScripts/linkerfile.ld
220 changes: 220 additions & 0 deletions .studio/linkerScripts/linkerfile.ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
/***************************************************************************//**
* Linker script for Silicon Labs EFM/EFR/EZR devices
*******************************************************************************
* # License
* <b>Copyright 2019 Silicon Laboratories Inc. www.silabs.com</b>
*******************************************************************************
*
* SPDX-License-Identifier: Zlib
*
* The licensor of this software is Silicon Laboratories Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
******************************************************************************/

$MEMORY_SECTION

/* Linker script to place sections and symbol values. Should be used together
* with other linker script that defines memory regions FLASH and RAM.
* It references following symbols, which must be defined in code:
* Reset_Handler : Entry of reset handler
*
* It defines following symbols, which code can use without definition:
* __exidx_start
* __exidx_end
* __copy_table_start__
* __copy_table_end__
* __zero_table_start__
* __zero_table_end__
* __etext
* __data_start__
* __preinit_array_start
* __preinit_array_end
* __init_array_start
* __init_array_end
* __fini_array_start
* __fini_array_end
* __data_end__
* __bss_start__
* __bss_end__
* __end__
* end
* __HeapBase
* __HeapLimit
* __StackLimit
* __StackTop
* __stack
* __Vectors_End
* __Vectors_Size
*/
ENTRY(Reset_Handler)

SECTIONS
{
.text :
{
KEEP(*(.vectors))
__Vectors_End = .;
__Vectors_Size = __Vectors_End - __Vectors;
__end__ = .;

*(.text*)

KEEP(*(.init))
KEEP(*(.fini))

/* .ctors */
*crtbegin.o(.ctors)
*crtbegin?.o(.ctors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors)
*(SORT(.ctors.*))
*(.ctors)

/* .dtors */
*crtbegin.o(.dtors)
*crtbegin?.o(.dtors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors)
*(SORT(.dtors.*))
*(.dtors)

*(.rodata*)

KEEP(*(.eh_frame*))
} > FLASH

.ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > FLASH

__exidx_start = .;
.ARM.exidx :
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > FLASH
__exidx_end = .;

.copy.table :
{
. = ALIGN(4);
__copy_table_start__ = .;

LONG (__etext)
LONG (__data_start__)
LONG ((__data_end__ - __data_start__) / 4)

/* Add each additional data section here */
/*
LONG (__etext2)
LONG (__data2_start__)
LONG ((__data2_end__ - __data2_start__) / 4)
*/
__copy_table_end__ = .;
} > FLASH

.zero.table :
{
. = ALIGN(4);
__zero_table_start__ = .;
/* Add each additional bss section here */
/*
LONG (__bss2_start__)
LONG ((__bss2_end__ - __bss2_start__) / 4)
*/
__zero_table_end__ = .;
} > FLASH

__etext = .;

.data : AT (__etext)
{
__data_start__ = .;
*(vtable)
*(.data*)
. = ALIGN (4);
PROVIDE (__ram_func_section_start = .);
*(.ram)
PROVIDE (__ram_func_section_end = .);

. = ALIGN(4);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);

. = ALIGN(4);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array))
PROVIDE_HIDDEN (__init_array_end = .);

. = ALIGN(4);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);

KEEP(*(.jcr*))
. = ALIGN(4);
/* All data end */
__data_end__ = .;

} > RAM

.bss :
{
. = ALIGN(4);
__bss_start__ = .;
*(.bss*)
*(COMMON)
. = ALIGN(4);
__bss_end__ = .;
} > RAM

.heap (COPY):
{
__HeapBase = .;
__end__ = .;
end = __end__;
_end = __end__;
KEEP(*(.heap*))
__HeapLimit = .;
} > RAM

/* .stack_dummy section doesn't contains any symbols. It is only
* used for linker to calculate size of stack sections, and assign
* values to stack symbols later */
.stack_dummy (COPY):
{
KEEP(*(.stack*))
} > RAM

/* Set stack top to end of RAM, and stack limit move down by
* size of stack_dummy section */
__StackTop = ORIGIN(RAM) + LENGTH(RAM);
__StackLimit = __StackTop - SIZEOF(.stack_dummy);
PROVIDE(__stack = __StackTop);

/* Check if data + heap + stack exceeds RAM limit */
ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")

/* Check if FLASH usage exceeds FLASH size */
ASSERT( LENGTH(FLASH) >= (__etext + SIZEOF(.data)), "FLASH memory overflowed !")
}
27 changes: 16 additions & 11 deletions .studio/modules/Common/CMSIS/CMSISClient.slsproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project id="com.silabs.sdk.exx32.common.CMSIS" label="CMSIS DSP" contentRoot="$(sdkInstallationPath:default())/platform/CMSIS">
<property key="category" value="efm32|Common"/>
<includePath uri="Include" />
<folder name="DSP" uri="DSP_Lib/Source/BasicMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/CommonTables" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/ComplexMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/ControllerFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/FastMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/FilteringFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/MatrixFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/StatisticsFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/SupportFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP_Lib/Source/TransformFunctions" includeAllFolders="false" />
<includePath uri="Core/Include" />
<folder name="DSP" uri="DSP/Source/BasicMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/BayesFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/CommonTables" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/ComplexMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/ControllerFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/DistanceFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/FastMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/FilteringFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/InterpolationFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/MatrixFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/QuaternionMathFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/StatisticsFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/SupportFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/SVMFunctions" includeAllFolders="false" />
<folder name="DSP" uri="DSP/Source/TransformFunctions" includeAllFolders="false" />
</project>
4 changes: 2 additions & 2 deletions .studio/modules/Common/CMSIS/CMSISExamplesClient.slsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project id="com.silabs.sdk.exx32.common.CMSISExamples" label="CMSIS Examples" contentRoot="$(sdkInstallationPath:default())/platform/CMSIS/DSP_Lib/Examples">
<project id="com.silabs.sdk.exx32.common.CMSISExamples" label="CMSIS Examples" contentRoot="$(sdkInstallationPath:default())/platform/CMSIS/DSP/Examples">
<property key="category" value="efm32|Common"/>
<property key="category" value="src/arm_fir_data.c"/>
<property key="category" value="arm_fir_data.c"/>
<folder name="src" uri="arm_fir_example/ARM" includeAllFolders="false" />
</project>
24 changes: 15 additions & 9 deletions app/amazon/amazon_bluetooth_alpha_templates.xml
Original file line number Diff line number Diff line change
@@ -1,42 +1,48 @@
<?xml version="1.0" encoding="ASCII"?>
<model:MDescriptors xmlns:model="http://www.silabs.com/ss/Studio.ecore">
<descriptors name="aws_gatt_server" label="Amazon - AWS - Bluetooth GATT Server" description="This application demonstrates how to use the FreeRTOS Bluetooth Low Energy middleware APIs to create a simple GATT server.">
<descriptors name="amazon_aws_soc_gatt_server" label="Amazon AWS - SoC Bluetooth GATT Server" description="This application demonstrates how to use the FreeRTOS Bluetooth Low Energy middleware APIs to create a simple GATT server.">
<properties key="namespace" value="template.uc"/>
<properties key="keywords" value="universal\ configurator"/>
<properties key="projectFilePaths" value="example/aws_demos/aws_gatt_server.slcp"/>
<properties key="solutionReferenceId" value="app.amazon.example.amazon_aws_demos.amazon_aws_soc_gatt_server.slcp"/>
<properties key="projectFilePaths" value="example/amazon_aws_demos/amazon_aws_soc_gatt_server.slcp"/>
<properties key="readmeFiles" value=""/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4195a brd4196a brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="partCompatibility" value=".*bgm21.* .*bgm22.* .*mgm21.* .*mgm22.* .*efr32bg21.* .*efr32bg22.* .*efr32mg21.* .*efr32mg22.*"/>
<properties key="ideCompatibility" value="makefile-ide simplicity-ide"/>
<properties key="toolchainCompatibility" value="gcc segger"/>
<properties key="category" value="Example|AWS IoT"/>
<properties key="quality" value="ALPHA"/>
<properties key="stockConfigCompatibility" value="com.silabs.ss.framework.project.toolchain.core.default"/>
<properties key="filters" value="Device\ Type|SoC Ecosystem|Amazon Project\ Difficulty|Advanced Wireless\ Technology|Bluetooth"/>
</descriptors>
<descriptors name="aws_mqtt_over_ble" label="Amazon - AWS - MQTT over Bluetooth" description="This application demonstrates how to use the MQTT over Bluetooth Low Energy service.">
<descriptors name="amazon_aws_soc_mqtt_over_ble" label="Amazon AWS - SoC MQTT over Bluetooth Low Energy" description="This application demonstrates how to use the MQTT over Bluetooth Low Energy service.">
<properties key="namespace" value="template.uc"/>
<properties key="keywords" value="universal\ configurator"/>
<properties key="projectFilePaths" value="example/aws_demos/aws_mqtt_over_ble.slcp"/>
<properties key="solutionReferenceId" value="app.amazon.example.amazon_aws_demos.amazon_aws_soc_mqtt_over_ble.slcp"/>
<properties key="projectFilePaths" value="example/amazon_aws_demos/amazon_aws_soc_mqtt_over_ble.slcp"/>
<properties key="readmeFiles" value=""/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4195a brd4196a brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="partCompatibility" value=".*bgm21.* .*bgm22.* .*mgm21.* .*mgm22.* .*efr32bg21.* .*efr32bg22.* .*efr32mg21.* .*efr32mg22.*"/>
<properties key="ideCompatibility" value="makefile-ide simplicity-ide"/>
<properties key="toolchainCompatibility" value="gcc segger"/>
<properties key="category" value="Example|AWS IoT"/>
<properties key="quality" value="ALPHA"/>
<properties key="stockConfigCompatibility" value="com.silabs.ss.framework.project.toolchain.core.default"/>
<properties key="filters" value="Device\ Type|SoC Ecosystem|Amazon Project\ Difficulty|Advanced Wireless\ Technology|Bluetooth"/>
</descriptors>
<descriptors name="aws_tests_bt" label="Amazon - AWS - Bluetooth Tests" description="Project to run AWS Tests including BLE tests on Silicon Labs boards.">
<descriptors name="amazon_aws_soc_bt_tests" label="Amazon AWS - SoC Bluetooth Tests" description="Project to run AWS Tests including BLE tests on Silicon Labs boards.">
<properties key="namespace" value="template.uc"/>
<properties key="keywords" value="universal\ configurator"/>
<properties key="projectFilePaths" value="example/aws_tests/aws_tests_bt.slcp"/>
<properties key="solutionReferenceId" value="app.amazon.example.amazon_aws_tests.amazon_aws_soc_bt_tests.slcp"/>
<properties key="projectFilePaths" value="example/amazon_aws_tests/amazon_aws_soc_bt_tests.slcp"/>
<properties key="readmeFiles" value=""/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="boardCompatibility" value="brd4171a brd4176a brd4179b brd4180a brd4180b brd4181a brd4181b brd4181c brd4195a brd4196a brd4308a brd4308b brd4308c brd4308d brd4309a brd4309b com.silabs.board.none"/>
<properties key="partCompatibility" value=".*bgm21.* .*bgm22.* .*mgm21.* .*mgm22.* .*efr32bg21.* .*efr32bg22.* .*efr32mg21.* .*efr32mg22.*"/>
<properties key="ideCompatibility" value="makefile-ide segger-embedded-studio simplicity-ide"/>
<properties key="toolchainCompatibility" value="gcc"/>
<properties key="category" value="Example|AWS IoT"/>
<properties key="quality" value="ALPHA"/>
<properties key="stockConfigCompatibility" value="com.silabs.ss.framework.project.toolchain.core.default"/>
<properties key="filters" value="Device\ Type|SoC Ecosystem|Amazon Project\ Difficulty|Advanced Wireless\ Technology|Bluetooth"/>
</descriptors>
</model:MDescriptors>
8 changes: 5 additions & 3 deletions app/amazon/amazon_platform_alpha_templates.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<?xml version="1.0" encoding="ASCII"?>
<model:MDescriptors xmlns:model="http://www.silabs.com/ss/Studio.ecore">
<descriptors name="aws_tests" label="Amazon - AWS - Tests" description="Project to run AWS Tests on Silicon Labs boards.">
<descriptors name="amazon_aws_tests" label="Amazon AWS - Platform Tests" description="Project to run AWS Tests on Silicon Labs boards.">
<properties key="namespace" value="template.uc"/>
<properties key="keywords" value="universal\ configurator"/>
<properties key="projectFilePaths" value="example/aws_tests/aws_tests.slcp"/>
<properties key="solutionReferenceId" value="app.amazon.example.amazon_aws_tests.amazon_aws_tests.slcp"/>
<properties key="projectFilePaths" value="example/amazon_aws_tests/amazon_aws_tests.slcp"/>
<properties key="readmeFiles" value=""/>
<properties key="boardCompatibility" value="brd4180a brd4180b brd4181a brd4181b brd4181c com.silabs.board.none"/>
<properties key="partCompatibility" value=".*bgm1.* .*bgm13.* .*bgm22.* .*efm32g.* .*efm32gg.* .*efm32gg11b.* .*efm32gg12b.* .*efm32hg.* .*efm32lg.* .*efm32pg12b.* .*efm32pg1b.* .*efm32pg22.* .*efm32pg23.* .*efm32tg.* .*efm32tg11b.* .*efm32wg.* .*efm32zg.* .*efr32bg12p.* .*efr32bg13p.* .*efr32bg1b.* .*efr32bg1p.* .*efr32bg22.* .*efr32fg12p.* .*efr32fg13p.* .*efr32fg14p.* .*efr32fg1p.* .*efr32fg23.* .*efr32mg12p.* .*efr32mg13p.* .*efr32mg14p.* .*efr32mg1p.* .*efr32mg21.* .*efr32mg22.* .*efr32mg24.* .*efr32zg13l.* .*efr32zg13p.* .*efr32zg13s.* .*efr32zg14p.* .*efr32zg23.* .*mgm1.* .*mgm12.* .*mgm13.* .*mgm21.* .*mgm22.* .*mgm24.* .*wgm160.* .*zgm13.* .*zgm23.*"/>
<properties key="partCompatibility" value=".*bgm1.* .*bgm13.* .*bgm22.* .*efm32g.* .*efm32gg.* .*efm32gg11b.* .*efm32gg12b.* .*efm32hg.* .*efm32lg.* .*efm32pg12b.* .*efm32pg1b.* .*efm32pg22.* .*efm32pg23.* .*efm32tg.* .*efm32tg11b.* .*efm32wg.* .*efm32zg.* .*efr32bg12p.* .*efr32bg13p.* .*efr32bg1b.* .*efr32bg1p.* .*efr32bg22.* .*efr32bg27.* .*efr32fg12p.* .*efr32fg13p.* .*efr32fg14p.* .*efr32fg1p.* .*efr32fg23.* .*efr32mg12p.* .*efr32mg13p.* .*efr32mg14p.* .*efr32mg1p.* .*efr32mg21.* .*efr32mg22.* .*efr32mg24.* .*efr32mg27.* .*efr32mr21.* .*efr32zg13l.* .*efr32zg13p.* .*efr32zg13s.* .*efr32zg14p.* .*efr32zg23.* .*fgm23.* .*mgm1.* .*mgm12.* .*mgm13.* .*mgm21.* .*mgm22.* .*mgm24.* .*wgm160.* .*zgm13.* .*zgm23.*"/>
<properties key="ideCompatibility" value="iar-embedded-workbench makefile-ide segger-embedded-studio simplicity-ide"/>
<properties key="toolchainCompatibility" value="gcc iar segger"/>
<properties key="category" value="Example|AWS IoT"/>
<properties key="quality" value="ALPHA"/>
<properties key="stockConfigCompatibility" value="com.silabs.ss.framework.project.toolchain.core.default"/>
<properties key="filters" value="Ecosystem|Amazon MCU|Operating\ Systems Project\ Difficulty|Advanced"/>
</descriptors>
</model:MDescriptors>
4 changes: 2 additions & 2 deletions app/amazon/app_amazon.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ id=com.silabs.sdk.amazon
label=Amazon
description=Amazon
version=3.3.0.0
dependantSdkVersion=3.3.0
prop.subLabel=Amazon
dependantSdkVersion=4.1.0
prop.subLabel=Amazon\\ 202012.00

# General properties are prepended with "prop."
prop.file.templatesFile=amazon_platform_alpha_templates.xml amazon_bluetooth_alpha_templates.xml amazon_alpha_templates.xml amazon_production_templates.xml
Expand Down
Loading

0 comments on commit 310814a

Please sign in to comment.