{"id":21191668,"url":"https://github.com/edgeimpulse/firmware-silabs-thunderboard-sense-2","last_synced_at":"2025-08-20T16:17:39.740Z","repository":{"id":104673301,"uuid":"333211032","full_name":"edgeimpulse/firmware-silabs-thunderboard-sense-2","owner":"edgeimpulse","description":"Edge Impulse firmware for the SiLabs Thunderboard Sense 2","archived":false,"fork":false,"pushed_at":"2024-09-18T08:13:31.000Z","size":16882,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-09-18T10:51:30.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/edgeimpulse.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-26T20:38:42.000Z","updated_at":"2024-09-18T08:13:35.000Z","dependencies_parsed_at":"2024-08-23T13:59:27.810Z","dependency_job_id":"c0358462-c29f-4dfa-ba84-3d360294b430","html_url":"https://github.com/edgeimpulse/firmware-silabs-thunderboard-sense-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Ffirmware-silabs-thunderboard-sense-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Ffirmware-silabs-thunderboard-sense-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Ffirmware-silabs-thunderboard-sense-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Ffirmware-silabs-thunderboard-sense-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgeimpulse","download_url":"https://codeload.github.com/edgeimpulse/firmware-silabs-thunderboard-sense-2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225615185,"owners_count":17496944,"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":[],"created_at":"2024-11-20T19:04:22.734Z","updated_at":"2024-11-20T19:04:23.243Z","avatar_url":"https://github.com/edgeimpulse.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Impulse firmware for SiLabs Thunderboard Sense 2\n\n[Edge Impulse](https://www.edgeimpulse.com) enables developers to create the next generation of intelligent device solutions with embedded Machine Learning. This repository contains the Edge Impulse firmware for the Silicon Labs Thunderboard Sense 2 development board. This device supports all Edge Impulse device features, including ingestion, remote management and inferencing.\n\n\u003e **Note:** Do you just want to use this development board with Edge Impulse? No need to build this firmware. See the instructions [here](https://docs.edgeimpulse.com/docs/development-platforms/officially-supported-mcu-targets/silabs-thunderboard-sense-2) for a prebuilt image and instructions.\n\nThis firmware has a [BLE capabilities](https://docs.edgeimpulse.com/docs/development-platforms/officially-supported-mcu-targets/silabs-thunderboard-sense-2#bluetooth-demo) built-in that allow you to start/stop inference and see its results on the mobile phone.\n\n## Source code organization\n\n* If you want to deploy your model (exported as a `Simplicity Studio Component` from Studio), extract the exported `zip` file content into:\n\n    `extension`\n\n### Reporting issues\n\nThis repository is a snapshot of the Edge Impulse internal code base, therefore PRs won't be merged. If you find any bugs or want to contribute use our [Developer Forum](https://forum.edgeimpulse.com/) to submit them.\n\n## Requirements\n\n### Hardware\n\n* SiLabs Thunderboard Sense 2 development board ([documentation](https://www.silabs.com/documents/public/user-guides/ug309-sltb004a-user-guide.pdf))\n\u003e :warning: This board is **Not recommended for new designs**. For a replacement, see the [EFR32xG24 Dev Kit](https://www.silabs.com/development-tools/wireless/efr32xg24-dev-kit) :warning:\n\n### Software\n\nFor a local build using command line tools:\n* [SLC CLI Tools](https://www.silabs.com/documents/public/user-guides/ug520-software-project-generation-configuration-with-slc-cli.pdf)\n* [GNU Arm Embedded Toolchain 10-2020-q4-major](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads)\n* [Gecko SDK v4.0.2](https://github.com/SiliconLabs/gecko_sdk/tree/v4.0.2)\n\nFor build using Docker container:\n* [Docker Desktop](https://www.docker.com/products/docker-desktop)\n\nFor build using Simplicity Studio v5:\n* [Simplicity Studio 5](https://www.silabs.com/developers/simplicity-studio) with Gecko SDK 4.0.2\n\n## How to build\n\n### Local build using command line tools\n\n1. Clone the [Gecko SDK v.4.0.2](https://github.com/SiliconLabs/gecko_sdk/tree/v4.0.2)\n\n    ```\n    git clone -b v4.0.2 https://github.com/SiliconLabs/gecko_sdk.git\n    ```\n\n1. Install [SLC CLI Tools (see p. 2.1)](https://www.silabs.com/documents/public/user-guides/ug520-software-project-generation-configuration-with-slc-cli.pdf)\n1. Configure `SLC CLI` to point the location of the `Gecko SDK` and sign the SDK\n\n    ```\n    slc configuration --sdk /home/user/gecko_sdk/\n    slc signature trust --sdk /home/user/gecko_sdk/\n    ```\n\n1. Also configure the default location of your toolchain, eg.\n\n    ```\n    slc configuration --gcc-toolchain /opt/toolchains/gcc-arm-none-eabi-10-2020-q4-major\n    ```\n\n1. Clone this repository and build\n\n    ```\n    git clone git@github.com:edgeimpulse/firmware-silabs-thunderboard-sense-2.git\n    cd firmware-silabs-thunderboard-sense-2/\n    ./build.sh --build\n    ```\n\n### Using Docker\n\n1. Clone this repository\n\n    ```\n    git clone git@github.com:edgeimpulse/firmware-silabs-thunderboard-sense-2.git\n    cd firmware-silabs-thunderboard-sense-2/\n    ```\n\n1. Build the container\n\n    ```\n    $ docker build -t edge-impulse-silabs .\n    ```\n\n1. Build the application\n\n    ```\n    docker run --rm -v $PWD:/app edge-impulse-silabs /bin/bash build.sh --build\n    ```\n\n### Using Simplicity Studio v5\n\n1. Install [Simplicity Studio v5](https://www.silabs.com/developers/simplicity-studio) and [Gecko SDK v4.0.2](https://github.com/SiliconLabs/gecko_sdk)\n1. Clone this repository\n1. In the Simplicity Studio, choose `File -\u003e Import`\n\n    ![](doc/import1.png)\n\n1. Browse to the directory with cloned repository select `firmware-tunderboard-sense-2` project and clik `Next`\n\n    ![](doc/import2.png)\n\n1. Check if all imported configurations are correct, especially `Board`, `SDK` and `Toolchain`:\n\n    ![](doc/import3.png)\n\n1. Choose a project name in your workspace and finish\n\n    ![](doc/import4.png)\n\n1. We have to make a few tweaks before building the project. In the `Project Explorer` panel, right click on the `extension` directory and choose `Delete`\n\n    ![](doc/import5.png)\n\n1. Confirm that only workspace link will be removed, the target will remain unchanged\n\n    ![](doc/import6.png)\n\n1. Now, double click on the `firmware-xg24.slcp` file to open project configuration\n\n    ![](doc/import7.png)\n\n1. In the new window choose `Change Targed/SDK/Generators`\n\n    ![](doc/import8.png)\n\n1. Make sure only `Simplicity IDE Project` generator is selected, **REMOVE** any other generators.\n\n    ![](doc/import9.png)\n\n1. Build the project\n\n    ![](doc/import10.png)\n\n## How to flash the board\n\nYou can either drag `./build/debug/firmware-silabs-thunderboard-sense-2.bin` to the `TB004` mass-storage device (mounts as a USB flash drive), or flash with the [Simplicity Commander](https://community.silabs.com/s/article/simplicity-commander?language=en_US) tool via:\n\n    ```\n    $ ./build.sh --flash\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Ffirmware-silabs-thunderboard-sense-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeimpulse%2Ffirmware-silabs-thunderboard-sense-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Ffirmware-silabs-thunderboard-sense-2/lists"}