Merge pull request #296 from cconlon/freescale-fix

Freescale: USER_TIME fixes, enable ECC and AES-GCM by default
This commit is contained in:
dgarske 2016-02-08 09:36:53 -08:00
commit a607c5dcc4

View File

@ -658,19 +658,18 @@ static char *fgets(char *buff, int sz, FILE *fp)
/* enable features */
#define USE_FAST_MATH
#define HAVE_ECC
#define HAVE_AESGCM
/* memory reduction */
#define TFM_TIMING_RESISTANT
#define ECC_TIMING_RESISTANT
#define ALT_ECC_SIZE
/* setting for PIT timer */
#define PIT_INSTANCE 0
#define PIT_CHANNEL 0
/* CW GCC workaround. gmtime() is not available */
#if defined(__GNUC__)
#define USER_TIME
#endif
#if defined(FREESCALE_KSDK_MQX) || defined(FREESCALE_KSDK_BM) || \
defined(FREESCALE_FREE_RTOS)
#include "fsl_device_registers.h"