<?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 — WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
		<link>https://www.wolfssl.com/forums/topic1709-wolf-ssl-support-integration-with-stm32l452-project-cube-ide.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1709.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in WOLF SSL Support / integration with STM32L452 Project (CUBE IDE).]]></description>
		<lastBuildDate>Fri, 26 Mar 2021 16:22:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5929.html#p5929</link>
			<description><![CDATA[<p>Hi Abhishek,</p><p>That is good news regarding the Cube pack.</p><p>We fully support both bare-metal and LWIP. For LWIP we support either the Posix or RAW interface. With the LWIP Posix interface requires threading (I believe). We do have an LWIP raw example in an old PR here:<br /><a href="https://github.com/wolfSSL/wolfssl/pull/599">https://github.com/wolfSSL/wolfssl/pull/599</a></p><p>Another option is to define `WOLFSSL_USER_IO` and set read / write callbacks using the following API&#039;s:</p><div class="codebox"><pre><code>/* I/O callbacks */
typedef int (*CallbackIORecv)(WOLFSSL *ssl, char *buf, int sz, void *ctx);
typedef int (*CallbackIOSend)(WOLFSSL *ssl, char *buf, int sz, void *ctx);
WOLFSSL_API void wolfSSL_CTX_SetIORecv(WOLFSSL_CTX*, CallbackIORecv);
WOLFSSL_API void wolfSSL_CTX_SetIOSend(WOLFSSL_CTX*, CallbackIOSend);
WOLFSSL_API void wolfSSL_SSLSetIORecv(WOLFSSL*, CallbackIORecv);
WOLFSSL_API void wolfSSL_SSLSetIOSend(WOLFSSL*, CallbackIOSend);</code></pre></div><p>We have some examples for this here:<br /><a href="https://github.com/wolfSSL/wolfssl-examples/blob/master/tls/client-tls-callback.c">https://github.com/wolfSSL/wolfssl-exam … callback.c</a></p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Fri, 26 Mar 2021 16:22:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5929.html#p5929</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5928.html#p5928</link>
			<description><![CDATA[<p>Hi David</p><p>Happy to share that we have successfully compiled WSSL pack with our existing STM32 project for STM32L452 with Cube IDE.<br />now we are looking for example to use WSSL in bare metal (with STM32 without RTOS or linux lib). <br /> gone through a post in this forum also &quot;porting Wolfssl t bare metal&quot;&nbsp; but its all about migration from openssl.<br />so please suggest some example to integrate WSSL in our STM32 project .</p><p>another compatibility check request is here for LWIP, we already have LWIP stake working with our system so can we get some benefit&nbsp; from that , or in simple words is it possible to use LWIP along with wssl or WSSL willalone can handle all Network task. if there is some thing related to WSSl+lWIP please point it out to proceed further .</p><p>Thaks<br />Abhishek Mishra</p>]]></description>
			<author><![CDATA[null@example.com (abhishekmishra)]]></author>
			<pubDate>Fri, 26 Mar 2021 10:13:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5928.html#p5928</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5895.html#p5895</link>
			<description><![CDATA[<p>Hi Abhishek,</p><p>I can reproduce and have an updated pack posted here:<br /><a href="https://drive.google.com/file/d/1WWGrJbP6pGHxhOcVMqvj5WV_ofYos24I/view?usp=sharing">https://drive.google.com/file/d/1WWGrJb … sp=sharing</a></p><p>You can manually exclude the folder, but as a solution I&#039;ve removed it from the pack.</p><p>It will be on the website shortly at the linked location:<br /><a href="https://www.wolfssl.com/files/ide/I-CUBE-wolfSSL.pack">https://www.wolfssl.com/files/ide/I-CUBE-wolfSSL.pack</a></p><p>Thanks for the report.<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Thu, 18 Mar 2021 19:08:35 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5895.html#p5895</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5894.html#p5894</link>
			<description><![CDATA[<p>Hi Abhishek,</p><p>No, the directory in wolfssl/linuxkm must be excluded. Those files are only for building with the Linux Kernel Module.</p><p>Right-click this folder in Project Explorer tree and go to &quot;Properties&quot;. Under Resource there is an option to exclude the directory. I am running some tests with the wolfSSL Cube pack v4.7.0 again to make sure my fix for this exclusion is working.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Thu, 18 Mar 2021 17:55:12 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5894.html#p5894</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5893.html#p5893</link>
			<description><![CDATA[<p>Hi David </p><p>thanks for responding quickly !</p><p>we used 4.7.0&nbsp; and you can see in ref. image also commented&nbsp; /* #define WOLFSSL_LINUXKM */ in setting.h , but there is no change in error (some new errors for lwip path appeared )</p><p>is there any example or ref for using wolfssl with St in bare metal ?</p>]]></description>
			<author><![CDATA[null@example.com (abhishekmishra)]]></author>
			<pubDate>Thu, 18 Mar 2021 17:44:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5893.html#p5893</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5890.html#p5890</link>
			<description><![CDATA[<p>Hi Abhishek,</p><p>The files in linuxkm should be excluded from your project. That folder exclusion change has already been made to the pack. Please update to the v4.7.0 version of the pack.</p><p><a href="https://www.wolfssl.com/files/ide/I-CUBE-wolfSSL.pack">https://www.wolfssl.com/files/ide/I-CUBE-wolfSSL.pack</a></p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Thu, 18 Mar 2021 15:58:50 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5890.html#p5890</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5889.html#p5889</link>
			<description><![CDATA[<p>also find MX configuration..</p>]]></description>
			<author><![CDATA[null@example.com (abhishekmishra)]]></author>
			<pubDate>Thu, 18 Mar 2021 09:54:16 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5889.html#p5889</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5888.html#p5888</link>
			<description><![CDATA[<p>Hello David thanks for response !</p><p>we followed your suggestion and modified #define WOLFSSL_STM32L4 in setting.hand also commented &quot;WOLF_CONF_RTOS&quot; <br />for your refer setting.h and wolfSSL_conf.h is atached . after clearly using single threaded system and not RTOs in config (by cube mx) still having error from files &quot;/linux/delay.h&quot; from module_hooks.c and get_thread_size.c from linuxkm which is linux kernal requirement..</p><p>kindly let us know why this is including OS based lib files even we dont want to use them and we have configured project for STM32L452.</p><p>-Abhishek Mishra <br />[India]</p>]]></description>
			<author><![CDATA[null@example.com (abhishekmishra)]]></author>
			<pubDate>Thu, 18 Mar 2021 09:51:01 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5888.html#p5888</guid>
		</item>
		<item>
			<title><![CDATA[Re: WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5870.html#p5870</link>
			<description><![CDATA[<p>Hi Abhishek,</p><p>1) Yes we are compatible, but each part has slight variations, such as if it supports crypto hardware. The goal is for you to add your own section or use this file as a template to implement your own build settings by coping this file and naming it user_settings.h and adding the pre-processor build macro WOLFSSL_USER_SETTINGS. If you add your own section in config.ftl that is generic feel free to submit here and we can include in the next wolfSSL release cube pack.</p><p>2) wolfSSL and wolfCrypt can be used without an OS in bare-metal. The example applications for TLS requires threading because it uses two threads to exchange data as an example. The cube pack code can be generated without an RTOS, but you won&#039;t be able to use the TLS example. You can still use TLS in your application code.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 16 Mar 2021 15:36:30 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5870.html#p5870</guid>
		</item>
		<item>
			<title><![CDATA[WOLF SSL Support / integration with STM32L452 Project (CUBE IDE)]]></title>
			<link>https://www.wolfssl.com/forums/post5869.html#p5869</link>
			<description><![CDATA[<p>Hello</p><p>we are&nbsp; working to integrate Wolf ssl based client application on our running STM32 based project ,for this we have taken reference from official doc of Wolf and found it supports STM32L series of controller, we followed instruction based on this doc to use package designed for STM32 controller. and having trouble with following details .</p><p>1. In config file (conf.ftl) located under iDe section is using only two controller in STM32L serial <span class="bbu">#defined(STM32L4A6xx)</span>&nbsp; and <span class="bbu">#defined(STM32L475xx)</span>.&nbsp; , no where mentioned STM32L452 , so is there no support for STM32452 for wolf ssl ?<br /><a href="https://www.wolfssl.com/docs/stm32/">https://www.wolfssl.com/docs/stm32/</a>&nbsp; </p><br /><p>2. after using package &quot;wolfSSL.I-CUBE-wolfSSL.4.7.0.pack&quot; with STM32CUBE MX we integrated these packages with current project with HALversion 1.14 but there are lots of files for RTOS and linux/scripts are being generated under WOLF middle ware section , so wolf ssl only works with OS based applications?&nbsp; &nbsp;</p><p>we request help and guidance for using wolfssl with STM32L452 project .</p><p>-Abhishek Mishra <br /> [India]</p>]]></description>
			<author><![CDATA[null@example.com (abhishekmishra)]]></author>
			<pubDate>Tue, 16 Mar 2021 15:31:43 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5869.html#p5869</guid>
		</item>
	</channel>
</rss>
