Skip to content

Memfault's version of the asset-tracker-cloud-firmware-aws repo

License

Notifications You must be signed in to change notification settings

memfault/memfault-asset-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thingy91 Example App

This application is based on the Nordic Asset Tracker app which can be found in NCS under applications/asset_tracker_v2. This specific app was forked from the out-of-tree version of this application.

Setup

Follow the Getting Started with the Thingy91 instructions for updating the modem firmware, activating the SIM card, and registering the device with nRF Cloud.

Install Zephyr's dependencies here.

Create a workspace folder:

mkdir ~/thingy91-workspace
cd thingy91-workspace

Create and activate a virtual environment:

python3 -m venv .venv
source .venv/bin/activate

Install west, Zephyr's meta-tool:

pip install west

Use west to initialize the workspace with our asset-tracker repo as the manifest repo and then update the modules from the manifest memfault-asset-tracker/west.yml:

cd ~/thingy91-workspace
west init -m git@github.com:memfault/memfault-asset-tracker
west update

Install Python requirements for both Zephyr and NCS:

pip install -r zephyr/scripts/requirements.txt -r nrf/scripts/requirements-build.txt

Build & Flash

Build the app with your project key and the Memfault overlay:

cd ~/thingy91-workspace
west build -b thingy91_nrf9160_ns -p always memfault-asset-tracker -- \
-DCONFIG_MEMFAULT_NCS_PROJECT_KEY=\"${MEMFAULT_PROJECT_KEY}\" \
-DOVERLAY_CONFIG=overlay-memfault.conf

Flash:

west flash --erase

Deploying OTAs

This app also has an example of how to auto-deploy releases with Memfault. See ota-deploy.yaml.

About

Memfault's version of the asset-tracker-cloud-firmware-aws repo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •