zephyr/ext/hal/silabs/gecko
Piotr Mienkowski abc394bd4d ext: silabs: rename ramfunc section to match Zephyr's
Functions which have to be located in RAM are placed by SiLabs library
code in section '.ram'. Corresponding section used by Zephyr is called
'.ramfunc'. This patch renames SiLabs naming to match Zephyr's.

This solution was chosen over adding '.ram' function to Zephyr linker
scripts not to pollute them. However, this patch needs to be reapplied
every time SiLabs library version is updated.

Fixes #13192

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2019-02-23 07:31:12 -05:00
..
Device ext: gecko: Update Silabs Gecko HAL to v5.6.1 2018-11-22 07:57:19 -06:00
emlib ext: silabs: rename ramfunc section to match Zephyr's 2019-02-23 07:31:12 -05:00
CMakeLists.txt soc: silabs_exx32: Add independent Kconfig options for HAL libraries 2019-01-08 13:31:42 -06:00
Kconfig
README ext: gecko: Update Silabs Gecko HAL to v5.6.1 2018-11-22 07:57:19 -06:00

README

Silicon Labs Gecko HAL
######################

Origin:
   Silicon Labs Gecko SDK
   https://www.silabs.com/products/development-tools/software/simplicity-studio

Version:
   v5.6.1

Purpose:
   Add support for Silicon Labs EXX32 SoCs

Description:
   This code component is used to add Zephyr support for Silicon Labs EXX32 SoCs.
   To speed up the development process it is based on the Silicon Labs HAL.

   The Silicon Labs HAL is split into SoC specific folders. They share the 
   Peripheral Support library.

   The following folders are imported:
   platform/Device/SiliconLabs/$(GECKO_DEVICE)
   platform/emlib

Dependencies:
   This source code depends on headers and sources from Zephyr:
   ext/hal/cmsis

URL:
   https://www.silabs.com/products/development-tools/software/simplicity-studio

Maintained-by:
   External

License:
   Zlib

How to update
+++++++++++++

  * Start Simplicity Studio
  * Start the Package Manager
  * Install the 32-bit MCU SDK with the version you want to update to
  * The installation directory is <Simplicity Studio Path>/developer/sdks/gecko_sdk_suite/<version>
  * Replace the necessary files in ext/hal/silabs/gecko/Device and ext/hal/silabs/gecko/emlib
  * Ensure that the CMakeLists and Kconfig files match the new version of the Gecko SDK

The following folders are used in this HAL:

+-------------------+-----------------------------+--------------------------------------------------------------------+
| Gecko SDK         | Zephyr                      | Comments                                                           |
+-------------------+-----------------------------+--------------------------------------------------------------------+
| platform/Device/  | ext/hal/silabs/gecko/Device | Contains the device specific files in SiliconLabs/$(GECKO_DEVICE). |
|                   |                             | The files are not modified.                                        |
+-------------------+-----------------------------+--------------------------------------------------------------------+
| platform/emlib/   | ext/hal/silabs/gecko/emlib  | Contains the Silabs Peripheral Support library for the EXX32 SoCs. |
|                   |                             | All files are copied over. The files are not modified.             |
+-------------------+-----------------------------+--------------------------------------------------------------------+