Commit Graph

90 Commits

Author SHA1 Message Date
Piotr Dymacz 442d0fb1d0 gecko/cmake: replace 'SOC_GECKO_SERIESx' with 'SOC_FAMILY_SILABS_Sx'
The 'SOC_GECKO_SERIESx' Kconfig symbol no longer exists in Zephyr and
was replaced with 'SOC_FAMILY_SILABS_Sx' during migration to hwmv2.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2024-03-13 14:17:19 +00:00
Jamie McCrae 59c6c6e2e8 gecko: emlib: Fix ramfunc
Fixes a rename from hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:47:23 +01:00
Jérôme Pouiller f59c4ede2a modules: hal_silabs: "board/" does not exist
board/ does not exist, so it does not make sense to include it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:47:23 +01:00
Jérôme Pouiller 269acbc03b modules: hal_silabs: use SOC_GECKO_SDID
Zephyr main repo now expose SOC_GECKO_SDID so we don't have to define it
in CMakeLists.txt.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:47:23 +01:00
Jamie McCrae dd7bef5fa6 gecko: Updates for hwmv2
Adds updates for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:47:23 +01:00
Sateesh Kotapati b11b29167f gecko: doc: Update the copyright line in Licence | Update to GSDK 4.4.0
Update the copyright line in files to latest version as per gecko_sdk 4.4.0
Correction in location of se_manager in gecko/README

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-02-01 11:43:40 +01:00
Sateesh Kotapati 20024164aa gecko: Update BG22, BG27 and MG24 Device files | Update to GSDK 4.4.0
Update the EFR32BG22, BG27 and MG24 device files inside
gecko/Device/SiliconLabs/ from gecko_sdk to align the codebase of
hal_silabs with gecko_sdk 4.4.0.

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-01-25 12:37:37 +01:00
Sateesh Kotapati 2ea874714e gecko: service files updated | Update to GSDK 4.4.0
Updated the files present in device_init, hfxo_manager, power_manager and
sleeptimer folder as per latest version of gecko_sdk. Purpose of this PR
is to align the codebase of hal_silabs with gecko_sdk 4.4.0

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-01-23 14:09:44 +01:00
Sateesh Kotapati 11ab59175a gecko: se_manager files updated | Update to GSDK 4.4.0
Updated the files present in gecko/se_manager folder as per latest gecko_sdk.
Purpose of this PR is to align the codebase of hal_silabs with gecko_sdk 4.4.0

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-01-15 09:17:32 +01:00
Sateesh Kotapati 4cfb0e3e36 gecko: emlib files updated | Update to GSDK 4.4.0
Updated the files present in gecko/emlib folder.
Purpose of this PR is to align the codebase of hal_silabs with gecko_sdk 4.4.0

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-01-10 13:36:01 +01:00
Sateesh Kotapati e670e74976 gecko: sl_assert, sl_common file updated | Update to GSDK 4.4.0
Added the sl_assert, sl_common, em_core_generic, em_system_generic files
and updated related files in gecko/common and gecko/emlib to include the mentioned files.
Purpose of this PR is to align the codebase of hal_silabs with gecko_sdk 4.4.0.

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2024-01-08 15:12:44 +01:00
Sateesh Kotapati 7a6ba7ce98 gecko: EFR32BG22 Device files updated | Update to GSDK 4.3.2
Update the EFR32BG22 device files inside gecko/Device/SiliconLabs/EFR32BG22
from gecko_sdk to align the codebase of hal_silabs with gecko_sdk 4.3.2.

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2023-11-29 14:40:19 +01:00
Zoltan Havas 72a67203f0 zephyr: Kconfig: Add CONFIG_SOC_GECKO_CUSTOM_RADIO_PHY
Currently on Zephyr, RAIL library is used only by Bluetooth applications,
with this update, it will be able to be used for sample applications with
custom radio phys.
All files were copied from Silicon Labs GSDK v4.2.4.
commit hash: 1335d677c43c3e0e37af16583ec97a1e0c6f0be6

Signed-off-by: Zoltan Havas <zoltan.havas@silabs.com>
2023-11-17 15:06:33 +01:00
Zoltan Havas d077bf632a modules: hal_silabs: Added missing PA files
Added missing PA files for pa-pa_conversions from Silabs github
v4.2.4 commit hash: 1335d677c43c3e0e37af16583ec97a1e0c6f0be6

Signed-off-by: Zoltan Havas <zoltan.havas@silabs.com>
2023-11-17 15:06:33 +01:00
Zoltan Havas ec7ee67918 modules: hal_silabs: Update rail error codes
Update rail_assert_error_codes.h to v4.2.4
Commit hash from Silabs github: 1335d677c43c3e0e37af16583ec97a1e0c6f0be6

Signed-off-by: Zoltan Havas <zoltan.havas@silabs.com>
2023-11-17 15:06:33 +01:00
Sateesh Kotapati 8bc20509e3 gecko: EFR32MG24 Device files updated | Update to GSDK 4.3.2
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.3.2
Purpose: Update hal_silabs to gecko_sdk v4.3.2.

Signed-off-by: Sateesh Kotapati <sateesh.kotapati@silabs.com>
2023-11-17 15:01:26 +01:00
Yonatan Schachter d191d981c4 radio: Fix rail_chip_specific.h version
rail_chip_specific.h was copied from an incorrect version,
causing build errors.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-10-04 09:24:55 +02:00
Zoltan Havas 6a4521e593 gecko: Fix sdid for xg27 part
Added needed device init dpll file as well for correct building.
Please see the original slcc sdid value:https://github.com/SiliconLabs/gecko_sdk/blob/gsdk_4.3/platform/Device/component/efr32bg27c140f768im40.slcc#L70
2023-09-27 09:57:04 +02:00
Yonatan Schachter b699b57451 gecko/CMakeLists.txt: Put RF related code under radio config
Moved all RF related code (include directories, BT, RAIL) under
CONFIG_SOC_GECKO_HAS_RADIO, as this code is irrelevant for the EFM32
family.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-09-26 13:53:13 +02:00
Filip Kokosinski 32f35f1b37 gecko/CMakeLists: don't error out on missing SOC_GECKO_SERIES1/2
Right now, CMake errors out if either `CONFIG_SOC_GECKO_SERIES1` or
`CONFIG_SOC_GECKO_SERIES2` is undefined. This check is for adding the
right RAIL headers for the chosen SoC series.

Using RAIL is not required for normal SoC operation in Zephyr, so
erroring out here is not required.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2023-09-19 12:19:47 +01:00
Yonatan Schachter 267cd0bb17 rail: Add support for EFR32XG1X devices
Currently only the 2X families of EFR32 devices have been
supported, this commit adds support for 1X families.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-09-14 09:32:40 +02:00
Markus Fuchs 20113e9520 modules: hal_silabs: Update library BLOBs to version 4.2.4
Update the library BLOBs for the EFR32 RF subsystems and their
corresponding header files from version 4.1.4 to 4.2.4.

Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.4
Purpose: Update library BLOBs to GSDK version 4.2.4
License: Zlib
Maintained-by: External

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-09-11 14:23:56 +02:00
Markus Fuchs d184c2ccc0 modules: hal_silabs: Add support for SYSRTC-based sleeptimer
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.3.0
Purpose: Add support for sleeptimer based on SYSRTC peripheral
License: Zlib
Maintained-by: External

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-08-03 12:12:36 +02:00
Piotr Dymacz fbb47a4067 zephyr: define PRODUCT_NO for efr32bg22_brd4184b
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2023-07-25 09:48:26 +02:00
Wojciech Sipak 5fbe78d367 gecko: add support for EFM32GG12B
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.3.0
Purpose: Adding EFM32GG12B support.
License: Zlib
Maintained-by: External

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
2023-07-18 09:28:16 +02:00
Antoine Bout a3f7b6dc4c zephyr: Kconfig: use SOC_GECKO_USE_RAIL option to use RAIL
Link with RAIL library and add sources needed for RAIL if
CONFIG_SOC_GECKO_USE_RADIO is set, instead of CONFIG_BT_SILABS_HCI.
RAIL is needed to use efr32 radio, not only bluetooth.

Signed-off-by: Antoine Bout <antoine.bout@silabs.com>
2023-07-11 15:52:53 +02:00
Pawel Czarnecki a143f03e84 gecko: add pa-conversions for efr32xg27
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: pa-conversions plugin for EFR32XG27 is added
License: Zlib
Maintained-by: External

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2023-05-25 08:19:07 +02:00
Pawel Czarnecki d250a20c3b zephyr/module: bump binary blobs to 4.1
This commit bumps the binary blobs for RF subsystems from 4.0 to 4.1.

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2023-05-25 08:19:07 +02:00
Mateusz Sierszulski cee0e7704e modules: hal_silabs: add BLE support for EFR32XG24
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: EFR32XG24 BLE support is added.
License: Zlib
Maintained-by: External

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-05-04 10:50:22 +02:00
Mateusz Sierszulski 249c08f16f modules: hal_silabs: Update Silabs Gecko IADC sources
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: Gecko IADC source files are updated.
License: Zlib
Maintained-by: External

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-04-21 14:39:03 +02:00
Markus Fuchs 4ea388f82f modules: hal_silabs: Add support for EFR32MG24B220F1536IM48 SoC
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.1
Purpose: Add board configuration files
License: Zlib
Maintained-by: External

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-04-21 13:16:18 +02:00
Markus Fuchs 461a2935d6 modules: hal_silabs: Fix efr32_radio board directory include
Some EFR32 boards are plug-in boards for the Wireless Gecko Pro Kit Mainboard
and thus supported through the common efr32_radio board. In this case,
CONFIG_BOARD (e.g. efr32_radio_brd4180a) does not match the board directory
name (efr32_radio) and including the board directory will fail. Fix this by
passing the BOARD_DIR variable to zephyr_include_directories() instead.

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-04-21 13:16:18 +02:00
Krzysztof Boronski 229c1cdfcd zephyr: Fix board names and point to the right PRODUCT_NO for efr32bg27_brd2602a
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2023-04-20 09:40:23 +02:00
Krzysztof Boronski 37a77f9551 modules: hal_silabs: add support for the EFR32BG27 SoC
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: Adding EFR32BG27 support.
License: Zlib
Maintained-by: External

Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
2023-04-20 09:40:23 +02:00
Pawel Czarnecki 793db3cb74 modules: hal_silabs: adaptations for BLE support in Zephyr
Origin: Silicon Labs Gecko SDK
URL: https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: Adding RAIL support.
License: Zlib
Maintained-by: External

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2023-04-20 09:39:35 +02:00
Roman Dobrodii 5ea92d1c74 modules: hal_silabs: support compiling em_burtc driver
Build em_burtc.c driver when SOC_GECKO_BURTC is set in Kconfig

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
2023-04-19 21:03:17 +09:00
Mateusz Sierszulski ed4185ce6f modules: hal_silabs: efr32mg24: rename conflicting TIMER macro
Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-03-20 21:32:54 +09:00
Mateusz Sierszulski 690a19b76a Add support for EFR32MG24
Origin: Silicon Labs Gecko SDK
URL:
https://github.com/SiliconLabs/gecko_sdk
Version: 4.2.0
Purpose: board configuration files are added.
License: Zlib
Maintained-by: External

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-03-20 21:32:54 +09:00
Pawel Czarnecki 9dcaa76125 modules: hal_silabs: efr32bg22: rename conflicting TIMER macro
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Pawel Czarnecki 8a5f09abd4 emlib: em_timer: EFR32xG1: don't use deprecated macro
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Pawel Czarnecki 0f3094f777 modules: hal_silabs: EFR32MG21: update to 4.1.1
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Pawel Czarnecki 1ab039298d modules: hal_silabs: remove CMSE error
It seems that throwing preprocessor error when
__ARM_FEATURE_CMSE is not defined is not needed.

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Paweł Czarnecki 712234d034 modules: hal_silabs: update Gecko HAL to 4.1.1
Origin: Silicon Labs Gecko SDK
URL:
https://www.silabs.com/products/development-tools/software/simplicity-studio
Version: 4.1.1
Purpose: update HAL version from 3.1.2 to 4.1.1
License: Zlib
Maintained-by: External

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Sateesh Kotapati d9f94cc8b3 modules: hal_silabs: Add Silabs Gecko HAL for EFR32BG22C224F512IM40 SoC
Origin: Silicon Labs Gecko SDK
URL:
https://www.silabs.com/products/development-tools/software/simplicity-studio
Version: 3.1.2
Purpose: board configuration files are added.
License: Zlib
Maintained-by: External

Co-authored-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Signed-off-by: Sateesh Kotapati <Sateesh.Kotapati@silabs.com>
Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
2022-12-20 19:04:50 +09:00
Fabio Baltieri 1ec8dd99aa include: add "zephyr/" include prefix
Add relevant "zephyr/" prefixes to allow building with
LEGACY_INCLUDE_PATH=n.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-20 10:10:04 +00:00
Steven Lemaire 08dd39f1a2 modules: hal_silabs: update README to include info for the new files
Add information on how to update the SE Manager related files.

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2022-05-14 08:45:31 +09:00
Steven Lemaire 77a060590c modules: hal_silabs: add zephyr bindings for the SE Manager API
Origin: Original

Add zephyr bindings for the SE Manager high-level API, meaning mutex,
semaphore and devicetree bindings.

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2022-05-14 08:45:31 +09:00
Steven Lemaire 4c66138416 modules: hal_silabs: add SE Manager API for SoCs using the SE subsystem
Origin: Silicon Labs Gecko SDK
URL: https://www.silabs.com/products/development-tools/software/simplicity-studio
Version: 3.1.0
Purpose: Add SE Manager high-level APIs for SoCs using the SE subsystem
License: Zlib
Maintained-by: External

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2022-05-14 08:45:31 +09:00
Yonatan Schachter be39d4eebe modules: hal_silabs: Add Silabs Gecko HAL for EFR32FG13P SoCs
Origin: Silicon Labs Gecko SDK
URL: https://www.silabs.com/products/development-tools/software/simplicity-studio
Version: 3.1.1
Purpose: Add support for Silicon Labs EFR32FG13P SoCs
License: Zlib
Maintained-by: External

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2021-03-11 07:37:18 -06:00
Christian Taedcke de93f34488 modules: hal_silabs: Update Silabs Gecko HAL to 3.1.0
Origin: Silicon Labs Gecko SDK
URL: https://www.silabs.com/products/development-tools/software/simplicity-studio
Version: 3.1.0
Purpose: Provide same HAL version for all for Silicon Labs SoCs
License: Zlib
Maintained-by: External

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2021-02-05 11:57:30 -06:00