config.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* config.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. #define __CORTEX_M3__
  22. #define CYASSL_MDK_ARM
  23. #define CYASSL_MDK5
  24. #define CYASSL_CMSIS_RTOS
  25. #define NO_WRITEV
  26. #define NO_CYASSL_DIR
  27. #define BENCH_EMBEDDED
  28. #define CYASSL_DER_LOAD
  29. #define HAVE_NULL_CIPHER
  30. #define NO_MAIN_DRIVER
  31. #if defined(MDK_CONF_CYASSL)
  32. #define CYASSL_MDK_SHELL
  33. #include "config-Crypt.h"
  34. #include "config-CyaSSL.h"
  35. #elif defined(MDK_CONF_SimpleClient)
  36. #include "config-Crypt.h"
  37. #include "config-CyaSSL.h"
  38. #elif defined(MDK_CONF_SimpleServer)
  39. #include "config-Crypt.h"
  40. #include "config-CyaSSL.h"
  41. #elif defined(MDK_CONF_EchoClient)
  42. #include "config-Crypt.h"
  43. #include "config-CyaSSL.h"
  44. #elif defined(MDK_CONF_EchoServer)
  45. #include "config-Crypt.h"
  46. #include "config-CyaSSL.h"
  47. #elif defined(MDK_CONF_Benchmark)
  48. #define SINGLE_THREADED
  49. #define NO_INLINE
  50. #include "config-Crypt.h"
  51. #elif defined(MDK_CONF_CryptTest)
  52. #define SINGLE_THREADED
  53. #define NO_INLINE
  54. #include "config-Crypt.h"
  55. #endif