Skip to content

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

@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Mar 13, 2025
@github-actions github-actions bot closed this Mar 21, 2025
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.

3 participants