Giter Club home page Giter Club logo

cc1352_tinyml's Introduction

example-standalone-inferencing-ti-launchxl

This repository runs an exported impulse on the Texas Instruments LAUNCHXL-CC1352P1 development board. See the documentation at Running your impulse locally (TI CC1352P LaunchPad).

Texas Instruments Simplelink SDK

  • Uses the TI Simplelink SDK simplelink_cc13x2_26x2_sdk_5.20.00.52
  • Set SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR in gcc\makefile to the path to TI SimpleLink SDK.

Building the application

  1. Build the application by calling make as follows:

    $ cd gcc
    $ make
    
  2. Connect the board to your computer using USB.

  3. Flash the board

    Windows

    $ dslite.bat -c tools\user_files\configs\cc1352p1f3.ccxml -l tools\user_files\settings\generated.ufsettings -e -f -v gcc\build\edge-impulse-standalone.out
    

    Linux, macOS

    $ dslite.sh -c tools/user_files/configs/cc1352p1f3.ccxml -l tools/user_files/settings/generated.ufsettings -e -f -v gcc/build/edge-impulse-standalone.out
    

    Note: the above expects UniFlash is installed and PATH is set up properly to find dslite.sh.

Or build with Docker

  1. Build the Docker image:

    $ docker build -t ti-build .
    
  2. Build the application by running the container as follows:

    Windows

    $ docker run --rm -it -v "%cd%":/app ti-build /bin/bash -c "cd gcc && make"
    

    Linux, macOS

    $ docker run --rm -it -v $PWD:/app:delegated ti-build /bin/bash -c "cd gcc && make"
    
  3. Connect the board to your computer using USB.

  4. Flash the board:

    $ dslite.sh -c tools/user_files/configs/cc1352p1f3.ccxml -l tools/user_files/settings/generated.ufsettings -e -f -v gcc/build/edge-impulse-standalone.out
    

Troubleshooting

Flashing

If during flashing you encounter flashing issue. Then..

Ensure:

  1. your device is properly connected and/or your cable is not damaged.
  2. you have the proper permissions to access the USB device.

If on Linux you may want to try copying tools/71-ti-permissions.rules to /etc/udev/rules.d/. Then re-attach the USB cable and try again.

cc1352_tinyml's People

Contributors

sopjiang avatar

Stargazers

Sabas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.