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,8 +1,8 @@
CyaSSL IAR Project Files CyaSSL IAR Project Files
This directory contains project files for IAR EWARM IDE. These 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 Included Project Files
@@ -12,19 +12,14 @@ Included Project Files
executable projects. The library project generates full set library of wolfCrypt executable projects. The library project generates full set library of wolfCrypt
and CyaSSL functions. and CyaSSL functions.
2. Test suites Project: wolfCrypt-test.ewp 2. Test suites Project: wolfCrypt-test.ewp
generates test.out test suites executable generates test.out test suites executable
3. Benchmark Project: wolfCrypt-benchmark.ewp 3. Benchmark Project: wolfCrypt-benchmark.ewp
generates benchmark.out benchmark executable generates benchmark.out benchmark executable
Set Up Steps
------------
In order to generate project for specific target MPU, take following steps.
1. Project option settings 1. Project option settings
For each project,... For each project,...
General Options: Choose appropriate "Target" options General Options: Choose appropriate "Target" options
@@ -40,13 +35,10 @@ In order to generate project for specific target MPU, take following steps.
Uncomment the "CYASSL_IAR_ARM" define located in: Uncomment the "CYASSL_IAR_ARM" define located in:
<cyassl_root>/cyassl/ctaocrypt/settings. <cyassl_root>/cyassl/ctaocrypt/settings.
4. Build and download 4. Build and download
Go to "Project->Make" and "Download and Debug" in Menu bar for EWARM build and download. Go to "Project->Make" and "Download and Debug" in Menu bar for EWARM build and download.
Support Support
------- -------
Please send questions or comments to support@wolfssl.com Please send questions or comments to support@wolfssl.com

View File

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