Skip to content

Commit 55a11d9

Browse files
committed
modules: memfault: Override MEMFAULT_HTTP_USES_MBEDTLS config default
Having mbed TLS enabled in the system does not automatically mean it's used for HTTPS communication in memfault. If offloaded sockets are used, it's not the case regardless of mbed TLS configurations. Override the default value for MEMFAULT_HTTP_USES_MBEDTLS config in case NRF_MODEM_LIB is enabled to n. This config simply enables some extra checks for mbed TLS configuration (whether it fits memfault needs), but since it's not really used for offloaded sockets, it can generate false errors. By default, the config is set to y whenever mbed TLS is enabled, which is oversimplified condition for our case. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1 parent 11140e5 commit 55a11d9

File tree

1 file changed

+4
-0
lines changed
  • modules/memfault-firmware-sdk

1 file changed

+4
-0
lines changed

modules/memfault-firmware-sdk/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
if MEMFAULT
88

9+
config MEMFAULT_HTTP_USES_MBEDTLS
10+
bool
11+
default n if NRF_MODEM_LIB
12+
913
config MEMFAULT_NCS_PROJECT_KEY
1014
string "Memfault API key"
1115
help

0 commit comments

Comments
 (0)