xpnanax.blogg.se

Gecko driver board
Gecko driver board








gecko driver board
  1. Gecko driver board install#
  2. Gecko driver board software#
  3. Gecko driver board download#

efm32pg_stk3401a_defconfig, Kconfig, Kconfig.board and fconfig are software configuration in Kconfig formats.board.cmake used for flash and debug support.efm32pg_stk3401a_common.dtsi devicetree hardware description that should be shared between several boards.This declares your SoC, connectors, and any other hardware components such as LEDs, buttons, sensors, or communication peripherals (USB, BLE controller, etc). efm32pg_stk3401a.dts file is the hardware description in devicetree format.After rename some files, our board content should look like this. In my environment, I copied the content of the board efm32pg_stk3402a to our board directory. Once you created the HAL support for our development kit, we need to create the board directory. Now we’ll continue with our task of adding support to our development kit to ZephyrProject. I based my modifications on the efm32pg12b SoC files. Zephyr_sources_ifdef(CONFIG_SOC_SERIES_EFM32PG1B Device/SiliconLabs/EFM32PG1B/Source/system_efm32pg1b.c)Īdd the peripheral support library, we have to add the SoC files. modules/hal/silabs/gecko/CMakeLists.txt and the following line: modules/hal/silabs/gecko/Device/SiliconLabs/ Copy the directory platform/Device/SiliconLabs/EFM32PG1B to.Open the Gecko SDK directory with your file manager. Open the Simplicity Studio and go to Windows->Preference->SDKs.

Gecko driver board download#

  • Download and Install the SiLabs Simplicity Studio by following the link.
  • The happy way to get these files is the following: So, I had to add the EFM32PG1B peripheral support library. modules/hal/silabs/gecko/Device/SiliconLabs/ I didn’t find the EFM32PG1B peripheral support library. At this point, we have to verify if Zephyr has support for the microcontroller present at SLSTK4301A. Following the current Silicon Labs boards supported by Zephyr examples, I decided to create a new board directory called stk3401a. Now we need to create a new board directory.

    Gecko driver board install#

    Let’s install the Zephyr into the new directory called zephyr_blink_efm32 using the command sequence below: west init zephyr_blink_efm32

    gecko driver board gecko driver board

    At ZephyrProject documentation there is a very good step-by-step to do this: Getting Started. The first step that we have to do is to install the ZephyrProject on your machine. Now I’ll describe the steps used for me to perform this.

  • Crystals for LFXO and HFXO: 32.768 kHz and 40.000 MHz.
  • 2 push buttons and 2 LEDs connected to EFM32 for user interaction.
  • Ultra low power 128x128 pixel Memory-LCD.
  • Silicon Labs Si7021 Relative Humidity and Temperature Sensor.
  • Integrated Segger J-Link USB debugger/emulator with the possibility to debug external Silicon Labs devices.
  • Advanced Energy Monitoring system for precise current tracking.
  • EFM32PG1B200F256GM48 MCU with 256 kB Flash and 32 kB RAM.
  • The SLSTK4301A board have the following features:










    Gecko driver board