use assembly on gcc

pull/13228/head
Paul Szczeanek 2020-06-10 13:15:28 +01:00 committed by Vincent Coubard
parent 4ce36b3728
commit 568d0a287e
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ void uECC_set_rng(uECC_RNG_Function rng_function) {
g_rng_function = rng_function;
}
#ifdef __GNUC__ /* Only support GCC inline asm for now */
#if defined __GNUC__ && !defined(__ARMCC_VERSION) /* Only support GCC inline asm for now */
#if (uECC_ASM && (uECC_PLATFORM == uECC_avr))
#include "asm_avr.inc"
#endif