<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112080/cannot-use-zephyr-built-in-mbedtls-library-with-nrf5340</link><description>Hello, 
 I have implemented an application for nRF5340 chip derived from the Zephyr AWS IoT MQTT sample. The application is based on W5500 Ethernet driver so the idea is to work with AWS IoT over Ethernet. This sample uses the Zephyr built-in mbedTLS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2024 07:29:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112080/cannot-use-zephyr-built-in-mbedtls-library-with-nrf5340" /><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/494485?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 07:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8708801-f94d-46bc-ae0d-01bc4d93735f</guid><dc:creator>makoto.inoue</dc:creator><description>&lt;p&gt;Never mind, I&amp;#39;ve decided to modify the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/samples/net/cloud/aws_iot_mqtt/README.html"&gt;Zephyr&amp;#39;s AWS IoT Core MQTT sample&lt;/a&gt;, and it is working now (I can connect to test.mosquitto.org). My issue seems that I was not setting up the MbedTLS settings correctly...&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Makoto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/494320?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 10:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2725340-77e5-428c-8d69-774d13b0e545</guid><dc:creator>makoto.inoue</dc:creator><description>&lt;p&gt;Hello Marco,&lt;/p&gt;
&lt;p&gt;I am working with the same hardware setup (nrf5340dk + w5500 ethernet shield), trying to get nRF Connect SDK sample (&lt;span&gt;samples/net/mqtt) working with TLS. I started &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112857/getting-nrf5340dk-w5500-ethernet-shield-with-mqtt-tls-to-work"&gt;this thread on Devzone&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you mind sharing:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Which nRF Connect SDK version you used?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. If you used the default Zephyr W5500 driver?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. The overlay file for the w5500 ethernet shield?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Makoto&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/492898?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 08:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237d4f48-0d08-4636-98d3-21b1244355b1</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;I have managed to get the project compiling and running.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To anyone interested: here are the final .conf files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2110.prj.conf"&gt;devzone.nordicsemi.com/.../2110.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7801.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf"&gt;devzone.nordicsemi.com/.../7801.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/490183?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 09:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2053033-450f-4461-840c-6ef68c2003a3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When a fault occurs, make sure that you have &amp;quot;CONFIG_RESET_ON_FATAL_ERROR=n&amp;quot; set, and enter debug mode to see the call stack.&lt;/p&gt;
&lt;p&gt;Share any output, related to where you are stuck.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489910?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8babca9e-76c1-4f54-91b4-5420a23ecded</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I managed to get rid of all the warning with the following conf file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5554.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf"&gt;devzone.nordicsemi.com/.../5554.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I also share the prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/48185.prj.conf"&gt;devzone.nordicsemi.com/.../48185.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What worries me is that I had to disable the SSL context serialization to disable related warning:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I am not convinced about it.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Despite of it compiles, I do not see any RTT log being printed after flashing. If I instead run a simple application bypassing the board specific conf file and not compiling the network related application then I see the LOG. This confirms that the board and the RTT log itself works fine.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I guess a crash or something happens on init.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489650?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 09:05:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61bdf97a-347d-4068-9dc2-762a8ab0c156</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These are my configurations, and I&amp;#39;m just using a shield (-DSHIELD=arceli_eth_w5500) to get the sensor added to the board itself.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# DNS
CONFIG_DNS_RESOLVER=y
CONFIG_NET_SOCKETS_DNS_TIMEOUT=30000

# NET sockets
CONFIG_NET_NATIVE=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_TCP=y
CONFIG_NET_UDP=y
CONFIG_NET_SOCKETS_OFFLOAD=n
CONFIG_NET_DHCPV4=y
CONFIG_NET_CONTEXT_SNDTIMEO=y

# TLS networking
CONFIG_NET_SOCKETS_ENABLE_DTLS=n
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=2
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y

# TLS credentials
CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y

# mbedTLS
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=81920
CONFIG_MBEDTLS_RSA_C=y
CONFIG_MBEDTLS_TLS_LIBRARY=y
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y

# Optimize T-FM
CONFIG_TFM_PROFILE_TYPE_SMALL=y
CONFIG_PM_PARTITION_SIZE_TFM_SRAM=0xc000
CONFIG_PM_PARTITION_SIZE_TFM=0x20000

# General
CONFIG_POSIX_CLOCK=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=81920
CONFIG_NET_RX_STACK_SIZE=2048

# Optimize T-FM
CONFIG_TFM_PROFILE_TYPE_SMALL=y
CONFIG_PM_PARTITION_SIZE_TFM_SRAM=0xc000
CONFIG_PM_PARTITION_SIZE_TFM=0x20000

# PSA crypto
CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY=y
CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For your case, I think these two should be enough:&lt;/p&gt;
&lt;p&gt;# PSA crypto&lt;br /&gt;CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY=y&lt;br /&gt;CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you still see compiler issues with similar setting?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489356?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 15:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1528a78a-c01b-429d-8106-b7eedb540e03</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;Thanks. I have added those lines but I get kconfig warnings as apparently there are missing dependencies. Here is the log:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3348.log.txt"&gt;devzone.nordicsemi.com/.../3348.log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and the .config file:&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4024.config.txt"&gt;devzone.nordicsemi.com/.../4024.config.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489225?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 09:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4245aeda-1e60-42dd-9e13-a6eb83fdd447</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like mbedtls elliptic curves are missing. Try adding these:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0-rc2/samples/net/http_server/overlay-tls-nrf91.conf#L48-L58"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0-rc2/samples/net/http_server/overlay-tls-nrf91.conf#L48-L58&lt;/a&gt;&lt;/p&gt;
[quote user="Marco Russi"]&lt;div&gt;&lt;span&gt;NOTE:&amp;nbsp;CONFIG_NRF_SECURITY seems to be always y no matter if I add it.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Yes, it will be selected by other components in your configuration.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it still fails, could you share log + build/zephyr/.config file?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489061?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 10:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5506b2-3c39-4aa7-bd6f-5259dad85dad</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;Hi, I have already tried that. I have added these 2 lines:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_SECURITY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_RSA_C&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and I get similar errors:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0523.log.txt"&gt;devzone.nordicsemi.com/.../0523.log.txt&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I have then tried to fix all the checks few times but looks like I never get it right.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;NOTE:&amp;nbsp;CONFIG_NRF_SECURITY seems to be always y no matter if I add it.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489056?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 10:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ebbc2e-fac9-43e5-9586-b9231a1d20fc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_SECURITY should be y-selected, so that you do not get the kconfig warning during cmake project generation.&lt;/p&gt;
&lt;p&gt;It looks like you&amp;#39;re missing &amp;quot;CONFIG_MBEDTLS_RSA_C&amp;quot;. Try setting this and see if the compiler errors still exists.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489052?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 10:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f22c0ae7-0927-4d3e-8d7f-a23c2e4f6ce4</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;Hi, thank you for helping out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have moved most of the network related configs into a dedicated board conf file as you suggested and I modified the mbedtls configs based on the project you pointed out. Although I am not sure I am selecting the zephyr built-in mdebtls library as I removed that config macro. Anyway here is the full cmake log where you can see if complaints about some mbetls missing dependencies. This checks are done by a .h file inside nrf so I am not sure with mbedtls it is meant to use. Find the log in this txt file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8182.log.txt"&gt;devzone.nordicsemi.com/.../8182.log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and here are the two .conf file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8422.prj.conf"&gt;devzone.nordicsemi.com/.../8422.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5226.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf"&gt;devzone.nordicsemi.com/.../5226.nrf5340dk_5F00_nrf5340_5F00_cpuapp_5F00_ns.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/489013?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 08:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98696b6e-0626-48f3-920c-0ec5c3d16bdb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you split your board related configurations into the boards/ catalog, and use similar settings as done in most of the nrf/samples/net/ samples, here for the nRF7002-DK:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf#L37-L64"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf#L37-L64&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and report back, with the full cmake generation log if it still fails?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/488944?ContentTypeID=1</link><pubDate>Sat, 15 Jun 2024 09:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ee9b98-4b4b-4543-902f-80e8f24536a6</guid><dc:creator>Marco Russi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I yes I am using the _ns prefix. The board is the nrf5340dk with the ethernet w5500 Arduino shield on top. I have attached the prj.conf file in the post.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use Zephyr built-in mbedTLS library with nRF5340</title><link>https://devzone.nordicsemi.com/thread/488809?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:50:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22fcc8b8-8edb-4ef9-83ec-0f3724e44aea</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF5340 differs from nRF52840 wrt. the cortex m33 core; which provides optional Trustzone features.&lt;/p&gt;
&lt;p&gt;Can you share information on how you&amp;#39;re configuring your project? Which board do you use?&lt;/p&gt;
&lt;p&gt;Do you use the _ns prefix?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>