<?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 — How to bulid wolfSSL Lib in keil for C51]]></title>
		<link>https://www.wolfssl.com/forums/topic1003-how-to-bulid-wolfssl-lib-in-keil-for-c51.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1003.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to bulid wolfSSL Lib in keil for C51.]]></description>
		<lastBuildDate>Tue, 30 May 2017 23:01:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to bulid wolfSSL Lib in keil for C51]]></title>
			<link>https://www.wolfssl.com/forums/post3280.html#p3280</link>
			<description><![CDATA[<p>Hi,</p><p>Thanks for contacting wolfSSL. Have you had a chance to review our porting guide here: <a href="https://wolfssl.com/wolfSSL/Docs-wolfssl-porting-guide.html">https://wolfssl.com/wolfSSL/Docs-wolfss … guide.html</a></p><p>The porting guide will cover each problem expected when porting to a new environment. The guide will not touch on the differences for an 8-bit CPU and the default types wolfSSL expects (32 or 64 bit). Please take note of the define and example in our settings used when build for MICRIUM:<br /></p><div class="codebox"><pre><code> #define WOLFSSL_TYPES

    typedef CPU_INT08U byte;
    typedef CPU_INT16U word16;
    typedef CPU_INT32U word32;</code></pre></div><p>You will need to define what a 8-bit unsigned integer, 16-bit unsigned integer, and 32-bit unsigned integer are for your 8-bit CPU along with the define for NO_64BIT.</p><br /><p>Warm Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 30 May 2017 23:01:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3280.html#p3280</guid>
		</item>
		<item>
			<title><![CDATA[How to bulid wolfSSL Lib in keil for C51]]></title>
			<link>https://www.wolfssl.com/forums/post3279.html#p3279</link>
			<description><![CDATA[<p>Hello:<br />I am trying to use wolfSSL in 51 MCU(STC15W4K56S4), MCU resources only 4K sram and 56K flash， 8bit MCU。<br />How to move wolfSSL into a completely new platform?<br />Can give me some advices, Which macro options can be turned off and which ones have to be turned on?</p><p>below is my config：<br />/* #define SINGLE_THREADED&nbsp; &nbsp; &nbsp; or define RTOS&nbsp; option */<br />#define WOLFSSL_CMSIS_RTOS</p><p>/* #define NO_FILESYSTEM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or define Filesystem option */<br />#define NO_FILESYSTEM<br />#define WOLFSSL_KEIL_FS<br />#define NO_WOLFSSL_DIR <br />#define WOLFSSL_NO_CURRDIR</p><p>/* #define WOLFSSL_USER_IO&nbsp; &nbsp; &nbsp; or use BSD incompatible TCP stack */<br />#define WOLFSSL_KEIL_TCP_NET&nbsp; /* KEIL_TCP + wolfssl_MDL_ARM.c for BSD compatibility */</p><p>#define NO_DEV_RANDOM<br />/* define your Rand gen for the operational use */<br />#define WOLFSSL_GENSEED_FORTEST</p><p>#define USE_WOLFSSL_MEMORY<br />#define WOLFSSL_MALLOC_CHECK</p><p>#define XVALIDATEDATE(d, f,t) (0)<br />#define WOLFSSL_USER_CURRTIME /* for benchmark */</p><p>//¼õÉÙÊý×éÊ¹ÓÃ´óÐ¡<br />#define USE_FAST_MATH<br />#define TFM_TIMING_RESISTANT<br />#define WOLFSSL_SMALL_STACK</p><p>#define&nbsp; BENCH_EMBEDDED</p><p>#define NO_WRITEV<br />#define NO_MAIN_DRIVER<br />#define WOLFSSL_MDK_SHELL<br />#define SINGLE_THREADED<br />#define NO_WOLFSSL_SERVER<br />#define NO_DES2<br />#define NO_PSK<br />#define NO_PWDBASED<br />#define NO_RC4<br />#define NO_RABBIT<br />#define NO_HC128<br />#define NO_64BIT<br />#define NO_ASN_TIME</p><p>complie lib error in Keil C51<br />*** ERROR 225: ATTEMPT TO ADD DUPLICATE PUBLIC SYMBOL<br />&nbsp; &nbsp; FILE:&nbsp; &nbsp; ssl.obj<br />&nbsp; &nbsp; MODULE:&nbsp; SSL<br />&nbsp; &nbsp; PUBLIC:&nbsp; _WOLFSSL_FREE<br />&quot;wolfssl.LIB&quot; - 0 Error(s), 268 Warning(s).</p><p>thanks</p>]]></description>
			<author><![CDATA[null@example.com (492305998)]]></author>
			<pubDate>Mon, 29 May 2017 07:28:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3279.html#p3279</guid>
		</item>
	</channel>
</rss>
