Note
This repository has been archived, because it is considered feature-complete. ✔️
This repository maintains an out-of-tree copy of the Asset Tracker v2 application to show how to use open-source tools for automating the creation of building HEX files, and continuously integrating the firmware against the cloud implementation of the nRF Asset Tracker for AWS.
The copy is regularly updated from source and kept in sync with the NCS release branches.
Symbol files can be automatically uploaded to Memfault, so core dumps can be parsed.
In order for the GitHub action to
upload the .elf
file on every build, additional secrets need to be configured.
MEMFAULT_ORGANIZATION_TOKEN
: the organization auth token can be accessed and
managed by Administrators at Admin → Organization Auth Tokens in the Memfault
UI.
MEMFAULT_ORGANIZATION_SLUG
, MEMFAULT_PROJECT_SLUG
, and
MEMFAULT_PROJECT_KEY
: You can retrieve the project settings from the settings
page of the Memfault dashboard of your organization.
You can set the secrets through the GitHub UI.
Alternatively you can use the GitHub CLI:
gh secret set -a actions MEMFAULT_ORGANIZATION_TOKEN --body <your memfault project key>
gh secret set -a actions MEMFAULT_ORGANIZATION_SLUG --body <your organization slug>
gh secret set -a actions MEMFAULT_PROJECT_SLUG --body <your project slug>
gh secret set -a actions MEMFAULT_PROJECT_KEY --body <your project key>