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).
- Uses the TI Simplelink SDK
simplelink_cc13x2_26x2_sdk_5.20.00.52
- Set
SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR
ingcc\makefile
to the path to TI SimpleLink SDK.
-
Build the application by calling
make
as follows:$ cd gcc $ make
-
Connect the board to your computer using USB.
-
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 finddslite.sh
.
-
Build the Docker image:
$ docker build -t ti-build .
-
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"
-
Connect the board to your computer using USB.
-
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
Flashing
If during flashing you encounter flashing issue. Then..
Ensure:
- your device is properly connected and/or your cable is not damaged.
- 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.