forked from wolfSSL/wolfssl
Merge pull request #130 from tass-belgium/master
Updated picoTCP support, based on newer HTTPS demo
This commit is contained in:
@@ -239,17 +239,20 @@
|
|||||||
#include "pico_defines.h"
|
#include "pico_defines.h"
|
||||||
#include "pico_stack.h"
|
#include "pico_stack.h"
|
||||||
#include "pico_constants.h"
|
#include "pico_constants.h"
|
||||||
#include "pico_bsd_sockets.h"
|
|
||||||
#define CUSTOM_RAND_GENERATE pico_rand
|
#define CUSTOM_RAND_GENERATE pico_rand
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CYASSL_PICOTCP_DEMO
|
#ifdef CYASSL_PICOTCP_DEMO
|
||||||
#define CYASSL_STM32
|
#define CYASSL_STM32
|
||||||
#define FREERTOS
|
|
||||||
#define USE_FAST_MATH
|
#define USE_FAST_MATH
|
||||||
#define TFM_TIMING_RESISTANT
|
#define TFM_TIMING_RESISTANT
|
||||||
#define XMALLOC(s, h, type) pvPortMalloc((s))
|
#define XMALLOC(s, h, type) PICO_ZALLOC((s))
|
||||||
#define XFREE(p, h, type) vPortFree((p))
|
#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
|
#endif
|
||||||
|
|
||||||
#ifdef FREERTOS_WINSIM
|
#ifdef FREERTOS_WINSIM
|
||||||
|
Reference in New Issue
Block a user