mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
add CYASSL_STM32F2 define, LwIP errno.h
This commit is contained in:
@@ -66,6 +66,9 @@
|
|||||||
/* Uncomment next line if building CyaSSL for Freescale MQX/RTCS/MFS */
|
/* Uncomment next line if building CyaSSL for Freescale MQX/RTCS/MFS */
|
||||||
/* #define FREESCALE_MQX */
|
/* #define FREESCALE_MQX */
|
||||||
|
|
||||||
|
/* Uncomment next line if using STM32F2 */
|
||||||
|
/* #define CYASSL_STM32F2 */
|
||||||
|
|
||||||
|
|
||||||
#include <cyassl/ctaocrypt/visibility.h>
|
#include <cyassl/ctaocrypt/visibility.h>
|
||||||
|
|
||||||
@@ -226,6 +229,16 @@
|
|||||||
/* Note: MQX has no realloc, using fastmath above */
|
/* Note: MQX has no realloc, using fastmath above */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CYASSL_STM32F2
|
||||||
|
#define SIZEOF_LONG_LONG 8
|
||||||
|
#define NO_DEV_RANDOM
|
||||||
|
#define NO_CYASSL_DIR
|
||||||
|
#define NO_RABBIT
|
||||||
|
#define STM32F2_RNG
|
||||||
|
#define STM32F2_CRYPTO
|
||||||
|
#define KEIL_INTRINSICS
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MICRIUM
|
#ifdef MICRIUM
|
||||||
|
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
|
1
src/io.c
1
src/io.c
@@ -45,6 +45,7 @@
|
|||||||
/* lwIP needs to be configured to use sockets API in this mode */
|
/* lwIP needs to be configured to use sockets API in this mode */
|
||||||
/* LWIP_SOCKET 1 in lwip/opt.h or in build */
|
/* LWIP_SOCKET 1 in lwip/opt.h or in build */
|
||||||
#include "lwip/sockets.h"
|
#include "lwip/sockets.h"
|
||||||
|
#include <errno.h>
|
||||||
#ifndef LWIP_PROVIDE_ERRNO
|
#ifndef LWIP_PROVIDE_ERRNO
|
||||||
#define LWIP_PROVIDE_ERRNO 1
|
#define LWIP_PROVIDE_ERRNO 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user