diff --git a/IDE/MDK5-ARM/Inc/config.h b/IDE/MDK5-ARM/Inc/config.h deleted file mode 100644 index 5603410fe..000000000 --- a/IDE/MDK5-ARM/Inc/config.h +++ /dev/null @@ -1,58 +0,0 @@ -/* config.h - * - * Copyright (C) 2006-2017 wolfSSL Inc. - * - * This file is part of wolfSSL. - * - * wolfSSL is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * wolfSSL is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA - */ - - -#define __CORTEX_M3__ - -#if defined(MDK_CONF_full) -#include "config-Crypt.h" -#include "config-wolfSSL.h" - -#elif defined(MDK_CONF_SimpleClient) -#include "config-Crypt.h" -#include "config-wolfSSL.h" - -#elif defined(MDK_CONF_SimpleServer) -#include "config-Crypt.h" -#include "config-wolfSSL.h" - -#elif defined(MDK_CONF_EchoClient) -#include "config-Crypt.h" -#include "config-wolfSSL.h" - -#elif defined(MDK_CONF_EchoServer) -#include "config-Crypt.h" -#include "config-wolfSSL.h" - -#elif defined(MDK_CONF_Benchmark) -#define SINGLE_THREADED -#include "config-Crypt.h" - -#elif defined(MDK_CONF_CryptTest) -#define SINGLE_THREADED -#include "config-Crypt.h" - -#elif defined(MDK_CONF_wolfSSL_lib) -#include "config-Crypt.h" -#include "config-wolfSSL.h" -#endif - - diff --git a/IDE/MDK5-ARM/Inc/wolfssl_MDK_ARM.h b/IDE/MDK5-ARM/Inc/wolfssl_MDK_ARM.h index 243bf0ad7..2c7e27aff 100644 --- a/IDE/MDK5-ARM/Inc/wolfssl_MDK_ARM.h +++ b/IDE/MDK5-ARM/Inc/wolfssl_MDK_ARM.h @@ -27,10 +27,6 @@ #include -/* Go to STDIN */ -#define fgets(buff, sz, fd) wolfssl_fgets(buff, sz, fd) -extern char * wolfssl_fgets ( char * str, int num, FILE * f ) ; - #define SOCKET_T int /*** #include ***/ @@ -72,7 +68,7 @@ typedef int socklen_t ; #define tcp_connect wolfssl_tcp_connect #define tcp_socket wolfssl_tcp_soket #define tcp_listen wolfssl_tcp_listen -#define tcp_select(a,b) (0) +#define tcp_select wolfssl_tcp_select #define connect(a,b,c) connect(a, (SOCKADDR *)(b), c) #define SOCKADDR struct sockaddr