Manage the Silicon Labs boards¶
Install¶
To install the Silicon Labs board,
-
Ensure the Arduino tools, CLI or IDE, are installed.
-
Ensure the
arduino-cli.yamlconfiguration file for Arduino-CLI or the Additional boards manager URLs for Arduino IDE includes
https://siliconlabs.github.io/arduino/package_arduinosilabs_index.json
-
Open a Terminal window.
-
Run
arduino-cli core install SiliconLabs:silabs
For more information on the installation process,
- Please refer to the Installation section on the GitHub repository.
Develop¶
Use the libraries for Bluetooth¶
The GSDK already includes the Bluetooth features.
- Ensure the selected board features Bluetooth, like
SiliconLabs_BGM220_BLE.
However, the ezBLE library provides an option.
- Edit the main
Makefileto list the required libraries.
APP_LIBS_LIST = ezBLE
Use the libraries for Matter¶
The GSDK already includes the library for Matter.
-
Ensure the selected board features Matter, like
SiliconLabs_xG24_Matter; -
Edit the main
Makefileto list the required libraries.
APP_LIBS_LIST = Matter
Use the libraries for RGB LED¶
The GSDK already includes the library for the RGB LED.
- Edit the main
Makefileto list the required libraries.
APP_LIBS_LIST = ezWS2812
Warning
The variant ezWS2812gpio does not work as expected. See ticket ezWS2812gpio issue #106 .
Upload¶
Upload uses the Simplicity Commander utility in command-line mode.
For more information,
- Please refer to the user guide UG162: Simplicity Commander Reference Guide .
On the Arduino Nano Matter and Seeed Xiao MG24, uploading relies on OpenOCD
Debug¶
The SiliconLabs Debug requires the J-Link Software and Documentation Pack .
On the Arduino Nano Matter and Seeed Xiao MG24, debugging relies on OpenOCD
Debug requires a board without the pre-compiled option, for example SiliconLabs_BGM220 instead of SiliconLabs_BGM220_precompiled.