浏览代码

IAR_ARM block in settings.h

Takashi Kojo 9 年之前
父节点
当前提交
ae749f727d
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      wolfssl/wolfcrypt/settings.h

+ 11 - 0
wolfssl/wolfcrypt/settings.h

@@ -153,6 +153,17 @@
     #define NO_FILESYSTEM
 #endif
 
+#if defined(WOLFSSL_IAR_ARM)
+    #define NO_MAIN_DRIVER
+    #define SINGLE_THREADED
+    #define USE_CERT_BUFFERS_1024
+    #define BENCH_EMBEDDED
+    #define NO_FILESYSTEM
+    #define NO_WRITEV
+    #define WOLFSSL_USER_IO
+    #define  BENCH_EMBEDDED
+#endif
+
 #ifdef MICROCHIP_PIC32
     /* #define WOLFSSL_MICROCHIP_PIC32MZ */
     #define SIZEOF_LONG_LONG 8