Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update memfault sdk to 1.19.0 #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gminn
Copy link
Member

@gminn gminn commented Jan 27, 2025

Summary

In Memfault SDK 1.19.0, the config MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS set via
memfault_platform_config.h was replaced with the Kconfig
CONFIG_MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS.
This commit updates the SDK version and:

  • Removes debug module Kconfig in the asset tracker app for the
    heartbeat interval, this is unnecessary wrapping now that the
    Memfault Zephyr module has a Kconfig
  • Removes references to the old config
  • Adds example usage of CONFIG_MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS

Test Plan

Confirmed successful build of asset tracker app:

west build -b thingy91/nrf9160/ns --sysbuild -p always nrf/applications/asset_tracker_v2 -- \
   -DCONFIG_MEMFAULT_NCS_PROJECT_KEY=\"$(<~/.memfault-gilly-playground-proj-key)\" \
   -DOVERLAY_CONFIG=overlay-memfault.conf

Resolves: MCU-862

 ### Summary

 In Memfault SDK 1.19.0, the config `MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS` set via
 `memfault_platform_config.h` was replaced with the Kconfig `CONFIG_MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS`.
 This commit updates the SDK version and:
 - Removes debug module Kconfig in the asset tracker app for the hearbeat interval, this is unnecessary wrapping now that the
    Memfault Zephyr module has a Kconfig
 - Removes references to the old config
 - Adds example usage of `CONFIG_MEMFAULT_METRICS_HEARTBEAT_INTERVAL_SECS`

 ### Test Plan

 Confirmed successful build of asset tracker app:

 ```
 west build -b thingy91/nrf9160/ns --sysbuild -p always nrf/applications/asset_tracker_v2 -- \
    -DCONFIG_MEMFAULT_NCS_PROJECT_KEY=\"$(<~/.memfault-gilly-playground-proj-key)\" \
    -DOVERLAY_CONFIG=overlay-memfault.conf
 ```
Copy link
Member Author

gminn commented Jan 27, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gminn gminn marked this pull request as ready for review January 27, 2025 14:50
@gminn gminn requested a review from noahp January 27, 2025 14:50
Copy link

@noahp noahp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3 this looks great, thanks @gminn !

@gminn
Copy link
Member Author

gminn commented Feb 10, 2025

Upstream PR opened: nrfconnect#20216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants