- ARM Toolchain: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
- Make
- SLC-cli
- Download
wget https://www.silabs.com/documents/login/software/slc_cli_linux.zip
- Unzip file
unzip slc_cli_linux.zip
- Change directory and install requirements
cd slc_cli && python3 -m pip install -r requirements
(venv optional) - Add to path
export PATH=$PATH:$(pwd)
- Download
-
Linux:
git submodule update --init --recursive --depth 1
cd ..
- Configure project
slc configuration --sdk gecko_sdk --gcc-toolchain=/path/to/your/toolchain
- Trust sdk
slc signature trust --sdk gecko_sdk
- Generate
slc generate gecko_test.slc -o makefile
make all
-
Windows:
git submodule update --init --recursive --depth 1
- Download slc-cli
wget https://www.silabs.com/documents/login/software/slc_cli_windows.zip
- Unzip file
- Change directory and install requirements
cd slc_cli
python3 -m pip install -r requirements
(venv optional) - Set Path
SET PATH=%PATH%;%cd%
cd ..
- Configure project
slc configuration --sdk gecko_sdk --gcc-toolchain=/path/to/your/toolchain
- Trust sdk
slc signature trust --sdk gecko_sdk
- Generate
slc generate gecko_test.slc -o makefile
make all