Coder Social home page Coder Social logo

memfault / memfault-asset-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 11.0 0.0 2.59 MB

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

License: Other

CMake 3.30% JavaScript 0.02% C 96.66% Shell 0.02%
memfault sample nrf-connect-sdk thingy91

memfault-asset-tracker's Introduction

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 [email protected]: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.

memfault-asset-tracker's People

Contributors

chrisc11 avatar coderbyheart avatar gminn avatar gregersrygg avatar memfault-bot avatar noahp avatar renovate-bot avatar renovate[bot] avatar simensrostad avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.