Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions IDE/IAR-EWARM/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This directory contains project files for IAR EWARM IDE. These
projects have been set up to generic ARM Cortex-M MPUs.
In order to generate project for specific target MPU, take following steps.

** Note ** regarding Segger Embedded Operating System (embOS)
The directory embOS contains projects specifically for embOS on IAR-EWARM.
Only use this directory if you are building an IAR Workbench project that
uses embOS


Included Project Files
-----------------------
Expand Down
6 changes: 6 additions & 0 deletions IDE/IAR-EWARM/embOS/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.bat
*.xcl
*.crun
*.dbgdt
*.dni

28 changes: 28 additions & 0 deletions IDE/IAR-EWARM/embOS/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#-----------------------------------------------------------------------------#
wolfSSL + embOS + IAR Workbench
#-----------------------------------------------------------------------------#

#-----------------------------------------------------------------------------#
For building the existing examples on a SAMV71_Explained_Ultra with Cortex M7
#-----------------------------------------------------------------------------#

See SAMV71_XULT\<example>\README_<example>

I.E. SAMV71_XULT\embOS_wolfcrypt_lib_SAMV71_XULT\README_wolfcrypt_lib

#-----------------------------------------------------------------------------#
For building wolfssl on a new CPU that is supported by embOS in IAR Workbench
#-----------------------------------------------------------------------------#

See custom_port\README_custom_port

#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#

Thank you for choosing wolfSSL if you ever have any questions please contact us!

support@wolfssl.com
info@wolfssl.com

Copyright © 2016 wolfSSL Inc. All rights reserved.

14 changes: 14 additions & 0 deletions IDE/IAR-EWARM/embOS/SAMV71_XULT/README_SAMV71
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Each example project here has it's own README please follow them in detail.

embOS_wolfcrypt_benchmark_SAMV71_XULT\README_wolfcrypt_benchmark
embOS_wolfcrypt_lib_SAMV71_XULT\README_wolfcrypt_lib
embOS_wolfcrypt_test_SAMV71_XULT\README_wolfcrypt_test


Thank you for using this guide and we hope this is helpful to you. If you have
any suggestions / feedback for us please contact us:
support@wolfssl.com
info@wolfssl.com

Copyright © 2016 wolfSSL Inc. All rights reserved.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* A simple example for evaluation purposes written from scratch by wolfSSL Inc
*/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you could write an ICF file from scratch so we own it and then don't need an Atmel license note.

/*###ICF### ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x00400000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_RAM_start__ = 0x20400000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20459999;
define symbol __ICFEDIT_region_ROM_start__ = 0x00400000;
define symbol __ICFEDIT_region_ROM_end__ = 0x00599999;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x13000;
/**** ###ICF###*/

define memory mem with size = 4G;
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];

define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };

initialize by copy { readwrite };
do not initialize { section .noinit };

place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite, block CSTACK, block HEAP };

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#ifndef _EMBOS_USER_SETTINGS_H_
#define _EMBOS_USER_SETTINGS_H_

#undef WOLFSSL_EMBOS
#define WOLFSSL_EMBOS

#undef WOLFCRYPT_ONLY
#define WOLFCRYPT_ONLY

#undef NO_64BIT
#define NO_64BIT

#undef SIZEOF_LONG
#define SIZEOF_LONG 4

#undef SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG 8

#undef USE_FAST_MATH
#define USE_FAST_MATH

#undef HAVE_CHACHA
#define HAVE_CHACHA

#undef HAVE_POLY1305
#define HAVE_POLY1305

#undef ECC_SHAMIR
#define ECC_SHAMIR

#undef HAVE_ECC
#define HAVE_ECC

#undef ECC_USER_CURVES
#define ECC_USER_CURVES

#undef ECC_ALT_SIZE
#define ECC_ALT_SIZE

#undef FP_MAX_BITS_ECC
#define FP_MAX_BITS_ECC 528

#undef TFM_TIMING_RESISTANT
#define TFM_TIMING_RESISTANT

#undef WOLFSSL_SHA512
#define WOLFSSL_SHA512

#undef WOLFSSL_SHA384
#define WOLFSSL_SHA384

#undef HAVE_AESGCM
#define HAVE_AESGCM

#undef NO_INLINE
#define NO_INLINE

#undef BENCH_EMBEDDED
#define BENCH_EMBEDDED

#undef WOLFSSL_SMALL_STACK
#define WOLFSSL_SMALL_STACK

#undef USE_WOLFSSL_MEMORY
#define USE_WOLFSSL_MEMORY

#endif /* _EMBOS_USER_SETTINGS_H_ */
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#ifndef _EMBOS_USER_SETTINGS_H_
#define _EMBOS_USER_SETTINGS_H_

#undef WOLFCRYPT_ONLY
#define WOLFCRYPT_ONLY

#undef NO_64BIT
#define NO_64BIT

#undef SIZEOF_LONG
#define SIZEOF_LONG 4

#undef SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG 8

#undef HAVE_CHACHA
#define HAVE_CHACHA

#undef HAVE_POLY1305
#define HAVE_POLY1305

#undef ECC_SHAMIR
#define ECC_SHAMIR

#undef HAVE_ECC
#define HAVE_ECC

#undef WOLFSSL_SHA512
#define WOLFSSL_SHA512

#undef WOLFSSL_SHA384
#define WOLFSSL_SHA384

#undef HAVE_AESGCM
#define HAVE_AESGCM

#undef NO_INLINE
#define NO_INLINE

#undef BENCH_EMBEDDED
#define BENCH_EMBEDDED

#endif /* _EMBOS_USER_SETTINGS_H_ */
Loading