io.c, #include

This commit is contained in:
Takashi Kojo
2014-05-01 17:09:28 +09:00
parent fb00110b77
commit f225714e75
2 changed files with 17 additions and 23 deletions

View File

@@ -1,52 +1,44 @@
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.
projects have been set up to generic ARM Cortex-M MPUs.
In order to generate project for specific target MPU, take following steps.
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.
Set Up 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

View File

@@ -69,6 +69,8 @@
#define RNG CyaSSL_RNG
/* for avoiding name conflict in "stm32f2xx.h" */
static int errno;
#elif defined(CYASSL_IAR_ARM)
/* nothing */
#else
#include <sys/types.h>
#include <errno.h>