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

chore: add memfault sdk 1.19.0 update to dogfood branch #30

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

gminn
Copy link
Member

@gminn gminn commented Feb 7, 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 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

 ### 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
 ```
@gminn gminn merged commit 79c7e05 into dogfood Feb 7, 2025
13 of 20 checks passed
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.

1 participant