MQTT with TLS DevZone (l4_e2) fails to build

I get a bunch of errors like undefined reference to `mbedtls_ssl_free', `mbedtls_ssl_get_bytes_avail',`mbedtls_ssl_config_free', 'mbedtls_ssl_read'

 `mbedtls_ssl_set_bio' and `mbedtls_ssl_handshake'`mbedtls_ssl_get_bytes_avail'

I compare my solution to the given solution and neither build, although the solution was missing a few small configs added in the newer version of the course. 

Exercise 2 - Nordic Developer Academy

thanks for your help, this is my first time.

Parents
  • Hi Noah,
    Apologies for the delayed response. We've had limited availability recently due to summer break.

    It looks like this exercise is missing some porting to the current version of NCS. If you are interested in a quick fix you can set these symbols in your prj.conf file and build without TF-M (without /ns).

    CONFIG_WIFI_CREDENTIALS_STATIC=y
    CONFIG_WIFI_CREDENTIALS_STATIC_SSID="ssid123"
    CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="pwd123"

    I will report this to the DevAcademy team. Thanks for pointing this out!

    Best regards,

    Benjamin

Reply
  • Hi Noah,
    Apologies for the delayed response. We've had limited availability recently due to summer break.

    It looks like this exercise is missing some porting to the current version of NCS. If you are interested in a quick fix you can set these symbols in your prj.conf file and build without TF-M (without /ns).

    CONFIG_WIFI_CREDENTIALS_STATIC=y
    CONFIG_WIFI_CREDENTIALS_STATIC_SSID="ssid123"
    CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="pwd123"

    I will report this to the DevAcademy team. Thanks for pointing this out!

    Best regards,

    Benjamin

Children
No Data
Related