From fde4d568457c1673bcf77e51f0f95003658fcd3d Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 22 Oct 2014 12:11:31 +0200 Subject: [PATCH] Updated picoTCP support, based on newer HTTPS demo --- cyassl/ctaocrypt/settings.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cyassl/ctaocrypt/settings.h b/cyassl/ctaocrypt/settings.h index 89c7abd33..29b820b72 100644 --- a/cyassl/ctaocrypt/settings.h +++ b/cyassl/ctaocrypt/settings.h @@ -239,17 +239,20 @@ #include "pico_defines.h" #include "pico_stack.h" #include "pico_constants.h" - #include "pico_bsd_sockets.h" #define CUSTOM_RAND_GENERATE pico_rand #endif #ifdef CYASSL_PICOTCP_DEMO #define CYASSL_STM32 - #define FREERTOS #define USE_FAST_MATH #define TFM_TIMING_RESISTANT - #define XMALLOC(s, h, type) pvPortMalloc((s)) - #define XFREE(p, h, type) vPortFree((p)) + #define XMALLOC(s, h, type) PICO_ZALLOC((s)) + #define XFREE(p, h, type) PICO_FREE((p)) + #define SINGLE_THREADED + #define NO_WRITEV + #define CYASSL_USER_IO + #define NO_DEV_RANDOM + #define NO_FILESYSTEM #endif #ifdef FREERTOS_WINSIM