{"id":21191634,"url":"https://github.com/edgeimpulse/example-standalone-inferencing-alif-csolution","last_synced_at":"2025-10-09T11:47:57.182Z","repository":{"id":240899969,"uuid":"795084997","full_name":"edgeimpulse/example-standalone-inferencing-alif-csolution","owner":"edgeimpulse","description":"Builds and runs an exported impulse locally for Alif HW","archived":false,"fork":false,"pushed_at":"2024-11-12T15:01:47.000Z","size":20637,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-29T13:54:38.696Z","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":"2024-05-02T14:55:18.000Z","updated_at":"2024-10-10T11:49:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3b8bce6-3e82-4ad9-b90a-796534663cb7","html_url":"https://github.com/edgeimpulse/example-standalone-inferencing-alif-csolution","commit_stats":null,"previous_names":["edgeimpulse/example-standalone-inferencing-alif-csolution"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edgeimpulse/example-standalone-inferencing-alif-csolution","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-alif-csolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-alif-csolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-alif-csolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-alif-csolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgeimpulse","download_url":"https://codeload.github.com/edgeimpulse/example-standalone-inferencing-alif-csolution/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-alif-csolution/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001311,"owners_count":26083059,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:10.684Z","updated_at":"2025-10-09T11:47:57.152Z","avatar_url":"https://github.com/edgeimpulse.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# example-standalone-inferencing-alif-csolution\n\nBuilds and runs an exported impulse locally for Alif HW\n\nThis application is built on VSCode Getting Started Template (alif_vscode-template)\nThe default hardware is Gen 2 Ensemble DevKit with camera module and display.\n\nThe required software setup consists of VSCode, Git, CMake, cmsis-toolbox, Arm GNU toolchain, Alif tools and JLink (for debugging).\nPlease refer to the [Getting Started Guide](https://alifsemi.com/download/AUGD0012) for more details.\n\n## Prerequisites\n1. Create an edge impulse account at [edgeimpulse.com](https://www.edgeimpulse.com/)\n2. Install the latest `Alif Security Toolkit`:\n\n    * Navigate to the [Alif Semiconductor Kit documentation](https://alifsemi.com/kits) page (you will need to register to create an account or log in). and download the latest `App Security Toolkit`.\n    * Extract archive where you prefer and create an envirionmental variable `SETOOLS_ROOT` pointing to it.\n    * Follow the instructions in local the `Alif Security Toolkit Quickstart Guide` to finalize the installation.\n3. Clone this repo and intitialize the submodules:\n```\ngit submodule init\ngit submodule update\n```\n\n\n## Build\n\u003e [!IMPORTANT]\n\u003e To build and manage the project, you need to follow this guide on how to setup the [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/README.md)\n\n### Using Arm CMSIS Solution extension\nGo to the CMSIS extension tab, and click the hammer icon.\n\n### Using the script\nRun the script with the target you want to be flashed, default is HP\n\nie to compile HE:\n```\nbuild.sh HE\n```\n\nLarge models that don't fit into `DTCM` memory can be placed in the `SRAM0` section using the `HP_SRAM` argument:\n```\nsh build.sh HP_SRAM\n```\n\nTo clean:\n```\nbuild.sh clean\n```\n\n\n## Flash the board\n\u003e [!IMPORTANT]\n\u003e To flash the board you need to set the `SETOOLS_ROOT` environmental variable to point to the Alif Security Toolkit\n\nTo Flash the board, set the jumper J15 in the following position:\n1-3\n2-4\n\n### Flash using VS code\nTask -\u003e Run Task -\u003e Program with security toolkit.\nThe actual config will be flashed.\n\n### Flash using script\nRun the script with the target you want to be flashed, default is HP\n\nie to flash HE:\n```\nflash.sh HE\n```\n\n\n## Connect to serial console\nTo connect to the board, use the following settings:\nJ15\n3-5\n4-6\n115200, 8, N, 1\n\n\n## Run a debug session\nConnect the 20pin cable of JLink to J13 and press F5.\n\n\n## Update model\nTo update your model, unizp the CMSIS pack deployment, install the packs using `cpackget add \u003cyour_project_name\u003e.pack` and paste the `model.yml` in the `model` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-alif-csolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-alif-csolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-alif-csolution/lists"}