{"id":28615528,"url":"https://github.com/siliconlabssoftware/zephyr-silabs","last_synced_at":"2025-07-05T05:36:41.810Z","repository":{"id":249985161,"uuid":"820898244","full_name":"SiliconLabsSoftware/zephyr-silabs","owner":"SiliconLabsSoftware","description":"Silicon Labs Zephyr repository","archived":false,"fork":false,"pushed_at":"2025-07-03T11:42:29.000Z","size":157,"stargazers_count":10,"open_issues_count":8,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-03T12:38:36.368Z","etag":null,"topics":["siliconlabs-security-maintained"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SiliconLabsSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-27T11:56:32.000Z","updated_at":"2025-07-03T11:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0d5997e-dd28-4caf-a66d-334d56df591c","html_url":"https://github.com/SiliconLabsSoftware/zephyr-silabs","commit_stats":null,"previous_names":["siliconlabssoftware/zephyr-silabs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SiliconLabsSoftware/zephyr-silabs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiliconLabsSoftware%2Fzephyr-silabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiliconLabsSoftware%2Fzephyr-silabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiliconLabsSoftware%2Fzephyr-silabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiliconLabsSoftware%2Fzephyr-silabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SiliconLabsSoftware","download_url":"https://codeload.github.com/SiliconLabsSoftware/zephyr-silabs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiliconLabsSoftware%2Fzephyr-silabs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263691546,"owners_count":23496874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["siliconlabs-security-maintained"],"created_at":"2025-06-12T02:09:15.392Z","updated_at":"2025-07-05T05:36:41.789Z","avatar_url":"https://github.com/SiliconLabsSoftware.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Silabs upstream daily build][badge]][recipe]\n\n[badge]:  https://github.com/SiliconLabsSoftware/zephyr-silabs/actions/workflows/upstream-build.yml/badge.svg\n[recipe]: https://github.com/SiliconLabsSoftware/zephyr-silabs/actions/workflows/upstream-build.yml\n\nSilicon Labs Zephyr repository\n==============================\n\nThis repository includes support for devices and features not yet included in\nthe Zephyr mainstream for various reasons.\n\nQuick start guide\n-----------------\n\nThe steps below applies on common Linux hosts. Please refer to the [full\ndocumentation][main-doc] for detailed steps.\n\nFirst, install packages required for Zephyr development, as described in the\n[Zephyr documentation][sysdeps]:\n\n    sudo apt install --no-install-recommends git cmake ninja-build gperf \\\n      ccache dfu-util device-tree-compiler wget python3-dev python3-pip  \\\n      python3-setuptools python3-tk python3-wheel xz-utils file make gcc \\\n      gcc-multilib g++-multilib libsdl2-dev libmagic1\n\nAlso [install `west` command][west]. Since no package is provided for `west`, it\ncan be done through `pip`:\n\n    pip install west\n\nRetrieve this repository using `west init`:\n\n    mkdir workspace\n    cd workspace\n    west init -m git@github.com:siliconlabssoftware/zephyr-silabs\n\nRetrieve modules:\n\n    west update\n\nYou can now [install extra Python packages][pydeps] required by Zephyr:\n\n     pip install -r zephyr/scripts/requirements.txt\n\nRetrieve the blobs:\n\n    west blobs fetch\n\nInstall [a toolchain][toolchain]. [Zephyr SDK][sdk] is recommended:\n\n    west sdk install\n\nThen, [Simplicity Commander][commander] is required to flash some targets (eg.\nSiWG917 can only be flashed using Simplicity Commander):\n\n    ARCH=x86_64 # Also consider \"aarch32\" or \"aarch64\"\n    wget https://www.silabs.com/documents/login/software/SimplicityCommander-Linux.zip\n    unzip SimplicityCommander-Linux.zip\n    sudo mkdir -p /opt/commander\n    sudo chown $(id -un):$(id -gn) /opt/commander\n    tar -C /opt -xvf SimplicityCommander-Linux/Commander_linux_${ARCH}_*.tar.bz\n    sudo ln -sfn /opt/commander/commander /usr/local/bin/\n\nIn order to debug the target, you will need [J-Link software pack][jlink]:\n\n    ARCH=x86_64 # Also consider \"arm\" or \"arm64\"\n    wget --post-data accept_license_agreement=accepted https://www.segger.com/downloads/jlink/JLink_Linux_$ARCH.deb\n    sudo dpkg -i JLink_Linux_$ARCH.deb\n\nYour environment is now installed. You can run all the Zephyr commands, ie.\nbuild an application:\n\n    west build -b siwx917_rb4338a zephyr/samples/hello_world\n\n... then flash it:\n\n    west flash\n\n... and debug it:\n\n    west attach\n\n[main-doc]:  https://docs.zephyrproject.org/latest/develop/getting_started/index.html\n[sysdeps]:   https://docs.zephyrproject.org/latest/develop/getting_started/index.html#install-dependencies\n[west]:      https://docs.zephyrproject.org/latest/develop/west/install.html\n[pydeps]:    https://docs.zephyrproject.org/latest/develop/getting_started/index.html#get-zephyr-and-install-python-dependencies\n[toolchain]: https://docs.zephyrproject.org/latest/develop/toolchains/index.html\n[sdk]:       https://docs.zephyrproject.org/latest/develop/toolchains/zephyr_sdk.html\n[commander]: https://www.silabs.com/developers/simplicity-studio/simplicity-commander?tab=downloads\n[jlink]:     https://www.segger.com/jlink-software.html\n\nTroubleshooting\n---------------\n\n### `pip` says \"This environment is externally managed\".\n\nOn recent version of Debian (\u003e= bookworm) and derivative, you need to use `pipx`\n(or use Python venv) instead of `pip`:\n\n    pipx install west\n    pipx runpip west install crc\n    pipx runpip west install -r zephyr/scripts/requirements.txt\n\n\n### I am not able to install JLink and Simplicity Commander on Raspberry Pi\n\nYou probably need to retrieve the binary that match with your architecture. Here\nis a table to identify your system:\n\n  | `uname -m` | `dpkg --print-architecture` | JLink    | Commander |\n  |------------|-----------------------------|----------|-----------|\n  | `x86_64`   | `amd64`                     | `x86_64` | `x86_64`  |\n  | `aarch64`  | `arm64`                     | `arm64`  | `aarch64` |\n  | `arm`      | `armhf`                     | `arm`    | `aarch32` |\n\n\n### I am not able to debug my target\n\nJ-Link software package may not support the Silicon Labs parts. Commander is\ngenerally up to date. You can try to copy Commander J-Link customisation files\nto J-Link software pack:\n\n    sudo cp -fr /opt/commander/resources/jlink/* /opt/SEGGER/JLink_V*/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiliconlabssoftware%2Fzephyr-silabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiliconlabssoftware%2Fzephyr-silabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiliconlabssoftware%2Fzephyr-silabs/lists"}