]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/CyaSSL/IDE/MDK5-ARM/Conf/config-CyaSSL.h
Demo application related:
[freertos] / FreeRTOS-Plus / Source / CyaSSL / IDE / MDK5-ARM / Conf / config-CyaSSL.h
1 /* config-RTX-TCP-FS.h
2  *
3  * Copyright (C) 2006-2013 wolfSSL Inc.
4  *
5  * This file is part of CyaSSL.
6  *
7  * CyaSSL is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * CyaSSL is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20  */
21
22
23 /**** CyaSSL for KEIL-RL Configuration ****/
24
25 #define __CORTEX_M3__
26 #define CYASSL_MDK_ARM
27 #define NO_WRITEV
28 #define NO_CYASSL_DIR
29 #define NO_MAIN_DRIVER
30
31
32 #define CYASSL_DER_LOAD
33 #define HAVE_NULL_CIPHER
34
35 #define HAVE_KEIL_RTX
36 #define CYASSL_CMSIS_RTOS
37 #define CYASSL_KEIL_TCP_NET
38
39
40 // <<< Use Configuration Wizard in Context Menu >>>
41 // <h> CyaSSL Configuration
42
43 //     <h>SSL (Included by default)
44 //     </h>
45
46 //      <e>TLS 
47 #define MDK_CONF_TLS 1
48 #if MDK_CONF_TLS == 0
49 #define NO_TLS
50 #endif
51 //  </e>
52
53 //      <e>CRL
54 #define MDK_CONF_DER_LOAD 0
55 #if MDK_CONF_DER_LOAD == 1
56 #define CYASSL_DER_LOAD
57 #endif
58 //  </e>
59 //      <e>OpenSSL Extra
60 #define MDK_CONF_OPENSSL_EXTRA 1
61 #if MDK_CONF_OPENSSL_EXTRA == 1
62 #define OPENSSL_EXTRA
63 #endif
64 //  </e>
65 //</h>
66
67 //  <h>Cert/Key Generation
68 //      <e>CertGen
69 #define MDK_CONF_CERT_GEN 0
70 #if MDK_CONF_CERT_GEN == 1
71 #define CYASSL_CERT_GEN
72 #endif
73 //  </e>
74 //      <e>KeyGen
75 #define MDK_CONF_KEY_GEN 0
76 #if MDK_CONF_KEY_GEN == 1
77 #define CYASSL_KEY_GEN
78 #endif
79 //  </e>
80 //</h>
81
82 //  <h>Others
83
84 //      <e>Inline
85 #define MDK_CONF_INLINE 0
86 #if MDK_CONF_INLINE == 0
87 #define NO_INLINE
88 #endif
89 //  </e>
90 //      <h>Debug
91 //              <e>Debug Message
92 #define MDK_CONF_DebugMessage 0
93 #if MDK_CONF_DebugMessage == 1
94 #define DEBUG_CYASSL
95 #endif
96 //         </e>
97 //              <e>Check malloc
98 #define MDK_CONF_CheckMalloc 1
99 #if MDK_CONF_CheckMalloc == 1
100 #define CYASSL_MALLOC_CHECK
101 #endif
102 //         </e>
103
104
105 //  </h>
106 //      <e>ErrNo.h
107 #define MDK_CONF_ErrNo 0
108 #if MDK_CONF_ErrNo == 1
109 #define HAVE_ERRNO
110 #endif
111 //  </e>
112 //      <e>Error Strings
113 #define MDK_CONF_ErrorStrings 1
114 #if MDK_CONF_ErrorStrings == 0
115 #define NO_ERROR_STRINGS
116 #endif
117 //  </e>
118 //      <e>zlib (need "zlib.h")
119 #define MDK_CONF_LIBZ 0
120 #if MDK_CONF_LIBZ == 1
121 #define HAVE_LIBZ
122 #endif
123 //  </e>
124 //      <e>CAVIUM (need CAVIUM headers)
125 #define MDK_CONF_CAVIUM 0
126 #if MDK_CONF_CAVIUM == 1
127 #define HAVE_CAVIUM
128 #endif
129 //  </e>
130 //      <e>Small Stack
131 #define MDK_CONF_SmallStack 1
132 #if MDK_CONF_SmallStack == 0
133 #define NO_CYASSL_SMALL_STACK
134 #endif
135 //  </e>
136 //      <e>Use Fast Math
137 #define MDK_CONF_FASTMATH 0
138 #if MDK_CONF_FASTMATH == 1
139 #define USE_FAST_MATH
140 #endif
141 //  </e>
142 //  </h>
143
144 // <<< end of configuration section >>>