nRF7002 and CONFIG_MBEDTLS_ENABLE_HEAP

I am trying to integrate nRF7002 into my application firmware, by using the "wifi/sta" example in NCS3.0.1.

My application has CONFIG_NRF_SECURITY=y and PSA enabled and also uses BT_SMP, otherwise nothing special. With that CONFIG_MBEDTLS_ENABLE_HEAP is set automatically but then the WIFI code fails with "<err> wpa_supp: Error in pbkdf2_sha1()". I can make it work by explicitly setting CONFIG_MBEDTLS_ENABLE_HEAP=n. I noted that the "wifi/sta" example does not generate a MBEDTLS config.

It would be good if the wifi code would work with other common security configurations.

What are the implications of CONFIG_MBEDTLS_ENABLE_HEAP=n?

Parents Reply Children
No Data
Related