Hello:
I am trying to use wolfSSL in 51 MCU(STC15W4K56S4), MCU resources only 4K sram and 56K flash, 8bit MCU。
How to move wolfSSL into a completely new platform?
Can give me some advices, Which macro options can be turned off and which ones have to be turned on?

below is my config:
/* #define SINGLE_THREADED      or define RTOS  option */
#define WOLFSSL_CMSIS_RTOS

/* #define NO_FILESYSTEM         or define Filesystem option */
#define NO_FILESYSTEM
#define WOLFSSL_KEIL_FS
#define NO_WOLFSSL_DIR
#define WOLFSSL_NO_CURRDIR

/* #define WOLFSSL_USER_IO      or use BSD incompatible TCP stack */
#define WOLFSSL_KEIL_TCP_NET  /* KEIL_TCP + wolfssl_MDL_ARM.c for BSD compatibility */

#define NO_DEV_RANDOM
/* define your Rand gen for the operational use */
#define WOLFSSL_GENSEED_FORTEST

#define USE_WOLFSSL_MEMORY
#define WOLFSSL_MALLOC_CHECK

#define XVALIDATEDATE(d, f,t) (0)
#define WOLFSSL_USER_CURRTIME /* for benchmark */

//¼õÉÙÊý×éʹÓôóС
#define USE_FAST_MATH
#define TFM_TIMING_RESISTANT
#define WOLFSSL_SMALL_STACK

#define  BENCH_EMBEDDED

#define NO_WRITEV
#define NO_MAIN_DRIVER
#define WOLFSSL_MDK_SHELL
#define SINGLE_THREADED
#define NO_WOLFSSL_SERVER
#define NO_DES2
#define NO_PSK
#define NO_PWDBASED
#define NO_RC4
#define NO_RABBIT
#define NO_HC128
#define NO_64BIT
#define NO_ASN_TIME

complie lib error in Keil C51
*** ERROR 225: ATTEMPT TO ADD DUPLICATE PUBLIC SYMBOL
    FILE:    ssl.obj
    MODULE:  SSL
    PUBLIC:  _WOLFSSL_FREE
"wolfssl.LIB" - 0 Error(s), 268 Warning(s).

thanks