CyaSSL library project and README
This commit is contained in:
parent
2069394386
commit
fb00110b77
2000
IDE/IAR-EWARM/Projects/CyaSSL-Lib/CyaSSL-Lib.ewp
Normal file
2000
IDE/IAR-EWARM/Projects/CyaSSL-Lib/CyaSSL-Lib.ewp
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,9 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<workspace>
|
||||
<project>
|
||||
<path>$WS_DIR$\CyaSSL-Lib.ewp</path>
|
||||
</project>
|
||||
<project>
|
||||
<path>$WS_DIR$\wolfCrypt-benchmark.ewp</path>
|
||||
</project>
|
||||
|
@ -626,7 +626,7 @@
|
||||
<debug>1</debug>
|
||||
<option>
|
||||
<name>IlinkOutputFile</name>
|
||||
<state>c.out</state>
|
||||
<state>benchmark.out</state>
|
||||
</option>
|
||||
<option>
|
||||
<name>IlinkLibIOConfig</name>
|
||||
|
@ -626,7 +626,7 @@
|
||||
<debug>1</debug>
|
||||
<option>
|
||||
<name>IlinkOutputFile</name>
|
||||
<state>c.out</state>
|
||||
<state>test.out</state>
|
||||
</option>
|
||||
<option>
|
||||
<name>IlinkLibIOConfig</name>
|
||||
|
52
IDE/IAR-EWARM/README
Normal file
52
IDE/IAR-EWARM/README
Normal file
@ -0,0 +1,52 @@
|
||||
CyaSSL IAR Project Files
|
||||
|
||||
|
||||
This directory contains project files for IAR EWARM IDE. These
|
||||
projects have been set up to use generic ARM Cortex-M MPUs.
|
||||
|
||||
|
||||
Included Project Files
|
||||
-----------------------
|
||||
1. Workspace: CyaSSL-Lib.eww
|
||||
The workspace includes CyaSSL-Lib library and wolfCrypt-test, wolfCrypt-benchmark
|
||||
executable projects. The library project generates full set library of wolfCrypt
|
||||
and CyaSSL functions.
|
||||
|
||||
|
||||
2. Test suites Project: wolfCrypt-test.ewp
|
||||
generates test.out test suites executable
|
||||
|
||||
3. Benchmark Project: wolfCrypt-benchmark.ewp
|
||||
generates benchmark.out benchmark executable
|
||||
|
||||
|
||||
|
||||
|
||||
In order to generate project for specific target MPU, take following steps.
|
||||
|
||||
|
||||
1. Project option settings
|
||||
For each project,...
|
||||
General Options: Choose appropriate "Target" options
|
||||
|
||||
For executable projects,...
|
||||
Linker->Config: Check "Override default" and "edit"->"Stack/Heap Sizes"
|
||||
Debugger: Choose your "Driver"
|
||||
|
||||
2. For benchmark project,...
|
||||
Write your own "current_time" benchmark timer under "defined(CYASSL_IAR_ARM)" in benchmark.c
|
||||
|
||||
3. settings.h
|
||||
Uncomment the "CYASSL_IAR_ARM" define located in:
|
||||
<cyassl_root>/cyassl/ctaocrypt/settings.
|
||||
|
||||
|
||||
4. Build and download
|
||||
Go to "Project->Make" and "Download and Debug" in Menu bar for EWARM build and download.
|
||||
|
||||
|
||||
|
||||
|
||||
Support
|
||||
-------
|
||||
Please send questions or comments to support@wolfssl.com
|
@ -140,6 +140,9 @@
|
||||
#define SINGLE_THREADED
|
||||
#define USE_CERT_BUFFERS_1024
|
||||
#define BENCH_EMBEDDED
|
||||
#define NO_FILESYSTEM
|
||||
#define NO_WRITEV
|
||||
#define CYASSL_USER_IO
|
||||
#endif
|
||||
|
||||
#ifdef MICROCHIP_PIC32
|
||||
|
@ -886,7 +886,7 @@ CYASSL_API int CyaSSL_make_eap_keys(CYASSL*, void* key, unsigned int len,
|
||||
#ifdef __PPU
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#elif !defined(CYASSL_MDK_ARM)
|
||||
#elif !defined(CYASSL_MDK_ARM) && !defined(CYASSL_IAR_ARM)
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
/* allow writev style writing */
|
||||
|
Loading…
Reference in New Issue
Block a user