Skip to content

Commit d9699cf

Browse files
paul-szczepanek-armpan-
authored andcommitted
asm only for gcc
1 parent a04102a commit d9699cf

File tree

1 file changed

+5
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_CORDIO_LL/stack/thirdparty/uecc

1 file changed

+5
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO_LL/stack/thirdparty/uecc/uECC_ll.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ uECC_asm_fast - Use GCC inline assembly optimized for maximum speed. */
2929
#define uECC_asm_small 1
3030
#define uECC_asm_fast 2
3131
#ifndef uECC_ASM
32-
#define uECC_ASM uECC_asm_fast
32+
#if !defined(__ARMCC_VERSION) && !defined(__ICCARM__) && defined(__GNUC__) /* Only support GCC inline asm for now */
33+
#define uECC_ASM uECC_asm_fast
34+
#else
35+
#define uECC_ASM uECC_asm_none
36+
#endif
3337
#endif
3438

3539
/* Curve selection options. */

0 commit comments

Comments
 (0)