forked from wolfSSL/wolfssl
Fixes to build STM32 with IAR.
This commit is contained in:
@ -89,6 +89,8 @@ STATIC INLINE word32 ByteReverseWord32(word32 value)
|
||||
#ifdef PPC_INTRINSICS
|
||||
/* PPC: load reverse indexed instruction */
|
||||
return (word32)__lwbrx(&value,0);
|
||||
#elif defined(__ICCARM__)
|
||||
return (word32)__REV(value);
|
||||
#elif defined(KEIL_INTRINSICS)
|
||||
return (word32)__rev(value);
|
||||
#elif defined(FAST_ROTATE)
|
||||
|
@ -938,7 +938,7 @@ static char *fgets(char *buff, int sz, FILE *fp)
|
||||
#define NO_RABBIT
|
||||
#define STM32F2_RNG
|
||||
#define STM32F2_CRYPTO
|
||||
#ifndef __GNUC__
|
||||
#if !defined(__GNUC__) && !defined(__ICCARM__)
|
||||
#define KEIL_INTRINSICS
|
||||
#endif
|
||||
#define NO_OLD_RNGNAME
|
||||
@ -963,7 +963,7 @@ static char *fgets(char *buff, int sz, FILE *fp)
|
||||
#define STM32F4_RNG
|
||||
#define STM32F4_CRYPTO
|
||||
#define NO_OLD_RNGNAME
|
||||
#ifndef __GNUC__
|
||||
#if !defined(__GNUC__) && !defined(__ICCARM__)
|
||||
#define KEIL_INTRINSICS
|
||||
#endif
|
||||
#ifdef WOLFSSL_STM32_CUBEMX
|
||||
|
Reference in New Issue
Block a user