<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — [SOLVED] Esp-idf + wolfssl]]></title>
		<link>https://www.wolfssl.com/forums/topic1019-solved-espidf-wolfssl.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1019.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [SOLVED] Esp-idf + wolfssl.]]></description>
		<lastBuildDate>Fri, 30 Jun 2017 08:41:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Esp-idf + wolfssl]]></title>
			<link>https://www.wolfssl.com/forums/post3339.html#p3339</link>
			<description><![CDATA[<p>Thanks for your reply, I already managed to make it work by adapting some includes and changing the settings.</p>]]></description>
			<author><![CDATA[null@example.com (eques)]]></author>
			<pubDate>Fri, 30 Jun 2017 08:41:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3339.html#p3339</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Esp-idf + wolfssl]]></title>
			<link>https://www.wolfssl.com/forums/post3323.html#p3323</link>
			<description><![CDATA[<p>Hi eques,</p><p>I personally have not built wolfSSL for Esp-idf but this looks like the include path needs updated. If it is an IDE based off of Eclipse then you should be able to do something like &quot;right click on the project -&gt; Properties -&gt; C/C++ General -&gt; Paths and Symbols&quot; for adding include paths.</p><p>With the second issue the unknown type pthread_mutex_t looks like the macro FREERTOS from settings.h may not be getting included. This could be a side effect of the include paths needing to be updated.</p><p>For the last error listed, sys/uio.h dependency can be removed by defining the macro NO_WRITEV. This can be defined in wolfssl/wolfcrypt/settings.h or better yet in a user_settings.h file.</p><p>Can you tell us some about the project and use case with wolfSSL?</p><p>Regards,<br />Jacob</p>]]></description>
			<author><![CDATA[null@example.com (Jacob)]]></author>
			<pubDate>Tue, 27 Jun 2017 21:39:33 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3323.html#p3323</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Esp-idf + wolfssl]]></title>
			<link>https://www.wolfssl.com/forums/post3322.html#p3322</link>
			<description><![CDATA[<p>I want to use wolfSSL on an ESP32 thing. But I cannot get it to work. I downloaded the full source code from the website and I already tried to place it on different places inside the folder structure of the esp-idf, but I always get errors that there are missing files. The last thing I tries was to copy the wolfssl folder into the freertos folder from esp-idf because wolfssl should work with freertos. However, when I do this, I get the following error:<br /></p><div class="codebox"><pre><code>/home/user/esp/esp-idf/components/freertos/include/freertos/wolfssl/ssl.h:30:40: fatal error: wolfssl/wolfcrypt/settings.h: No such file or directory</code></pre></div><p>However, in the wolfcrypt folder there is a file named settings.h so I don&#039;t know why this error pops up. I have tried several solutions for the past two days, but I never managed to get it to work. If someone knows how to use wolfssl and esp-idf, I will be very happy. Also, eso-idf uses freertos, and I know that wolfssl should be available in esp-idf, however, it looks like the full version of freertos is not available on the esp-idf, so wolfssl is not provided.</p><p>I have also tried to include the wolfssl source code (c + h files) that was available in the full freertos download. I placed the wolfssl folder with the h files in esp-idf/components/freertos/include/freertos. The c files, I included in esp-idf/components/freertos. Now I get the following error:</p><div class="codebox"><pre><code>error: unknown type name &#039;pthread_mutex_t&#039; typedef pthread_mutex_t wolfSSL_Mutex
In file included from /home/user/esp/esp-idf/components/freertos/include/freertos/wolfssl/internal.h:28:0, from /home/user/esp/esp-idf/components/freertos/./keys.c:30:/home/user/esp/esp-idf/components/freertos/include/freertos/wolfssl/ssl.h:931:33: fatal error: sys/uio.h: No such file or directory</code></pre></div><p>I have no clue what to do next.</p>]]></description>
			<author><![CDATA[null@example.com (eques)]]></author>
			<pubDate>Mon, 26 Jun 2017 12:51:42 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3322.html#p3322</guid>
		</item>
	</channel>
</rss>
