-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: memfault: Add automatic sending of coredumps over LTE
Add automatic sending of coredumps over LTE: - Add new file memfault_lte_coredump.c that uses LTE cereg and PDN to determine if the device is connected to the network. If connected, the layer will trigger sending of a stored coredump. Library is implemented with retry logic and backoff. - Add overlay file to SLM that enables Memfault features - Update Memfault sample to use the new coredump feature. - Add missing features to Memfault sample - Enable assertions by default in SLM, there is no reason why it should be enabled as long as there is space. Signed-off-by: Simen S. Røstad <[email protected]>
- Loading branch information
1 parent
1c36f9c
commit 99efc15
Showing
14 changed files
with
540 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
CONFIG_MEMFAULT=y | ||
CONFIG_MEMFAULT_HTTP_PERIODIC_UPLOAD=y | ||
CONFIG_MODEM_KEY_MGMT=y | ||
CONFIG_MEMFAULT_LOGGING_ENABLE=y | ||
CONFIG_MEMFAULT_HTTP_ENABLE=y | ||
CONFIG_MEMFAULT_NCS_LTE_METRICS=y | ||
CONFIG_MEMFAULT_NCS_STACK_METRICS=y | ||
CONFIG_MEMFAULT_NCS_INTERNAL_FLASH_BACKED_COREDUMP=y | ||
CONFIG_MEMFAULT_NCS_DEVICE_ID_IMEI=y | ||
CONFIG_MEMFAULT_LOGGING_RAM_SIZE=4096 | ||
CONFIG_MEMFAULT_HEAP_STATS=y | ||
CONFIG_MEMFAULT_HTTP_DEDICATED_WORKQUEUE_STACK_SIZE=1560 | ||
CONFIG_MEMFAULT_COREDUMP_FULL_THREAD_STACKS=y | ||
CONFIG_MEMFAULT_EVENT_STORAGE_SIZE=2048 | ||
CONFIG_MEMFAULT_NCS_POST_COREDUMP_ON_NETWORK_CONNECTED=y | ||
CONFIG_PDN=y | ||
CONFIG_LTE_LINK_CONTROL=y | ||
CONFIG_LTE_LC_EDRX_MODULE=y | ||
CONFIG_LTE_LC_PSM_MODULE=y | ||
|
||
# Memfault depends on POSIX, disable unneeded POSIX features | ||
CONFIG_POSIX_FILE_SYSTEM=n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.