This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enabling both memfault and CONFIG_NORDIC_SECURITY_BACKEND at the same time results in a build error.

In our application, we've enabled full modem firmware update, which requires us to enable CONFIG_NORDIC_SECURITY_BACKEND. When we also enable memfault, this compile time pre-processor error fires:

memfault_platform_http.c line 42

#if !defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
#error "MBEDTLS_SSL_SERVER_NAME_INDICATION must be enabled for Memfault HTTPS. This can be done with CONFIG_MBEDTLS_USER_CONFIG_ENABLE/FILE"
#endif

You can reproduce this by adding

CONFIG_NORDIC_SECURITY_BACKEND=y

to the prj.conf file for the memfault sample.

I think this error is actually not correct, as we're simply enabling mbed tls to get some tls functions, we're still using the modem offloaded tls functionality. What I've done in the mean time is disable this error directive, but I'm wondering if there's more to this than I'm seeing? Is there a better way to fix this? Do I really have to re-configure mbed tls to enable SNI? If so, could you provide an example of how to do this? The hints in the source are not so clear.

Parents Reply Children
No Data
Related