My Project
Loading...
Searching...
No Matches
config.h
1/* config.h
2 *
3 * Copyright (C) 2006-2020 wolfSSL Inc.
4 *
5 * This file is part of wolfSSL.
6 *
7 * wolfSSL 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 * wolfSSL 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20 */
21
22
23#ifndef MDK_CONFIG_H__
24#define MDK_CONFIG_H__
25/**** wolfSSL for KEIL-RL Configuration ****/
26
27#define __CORTEX_M3__
28#define WOLFSSL_MDK_ARM
29
30#define NO_WRITEV
31#define NO_WOLFSSL_DIR
32#define NO_MAIN_DRIVER
33
34/* for Retarget.c */
35#define STDIO
36#define BENCH_EMBEDDED
37
38#define WOLFSSL_DER_LOAD
39#define HAVE_NULL_CIPHER
40#define WOLFSSL_USER_TIME
41#define NO_TIME_H
42static int ValidateDate(const unsigned char* date, unsigned char format, int dateType){ return 1; }
43
44#if defined(MDK_CONF_RTX_TCP_FS)
45#include "config-RTX-TCP-FS.h"
46#elif defined(MDK_CONF_TCP_FS)
47#include "config-TCP-FS.h"
48#elif defined(MDK_CONF_FS)
49#include "config-FS.h"
50#elif defined(MDK_CONF_BARE_METAL)
51#include "config-BARE-METAL.h"
52#elif defined(MDK_WOLFLIB)
53#include "config-WOLFLIB.h"
54#endif
55
56#endif