Use uECC C99 implementation

pull/8876/head
Donatien Garnier 2018-11-23 18:11:43 +00:00 committed by Vincent Coubard
parent 0f4ded19ac
commit 01620b9ba2
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,11 @@ uECC_asm_fast - Use GCC inline assembly optimized for maximum speed. */
#define uECC_asm_small 1
#define uECC_asm_fast 2
#ifndef uECC_ASM
#define uECC_ASM uECC_asm_fast
#ifndef __CC_ARM
#define uECC_ASM uECC_asm_fast
#else // DG: ARMCC 5, unlike GCC, IAR and CLANG, doesn't support GNU-style inline assembly
#define uECC_ASM uECC_asm_none
#endif
#endif
/* Curve selection options. */

View File

@ -1,6 +1,6 @@
{
"name": "cordio-nordic-ll",
"macros": [
"uECC_ASM=2", "INIT_BROADCASTER", "INIT_OBSERVER", "INIT_CENTRAL", "INIT_PERIPHERAL", "INIT_ENCRYPTED", "LHCI_ENABLE_VS=0", "BB_CLK_RATE_HZ=32768"
"INIT_BROADCASTER", "INIT_OBSERVER", "INIT_CENTRAL", "INIT_PERIPHERAL", "INIT_ENCRYPTED", "LHCI_ENABLE_VS=0", "BB_CLK_RATE_HZ=32768"
]
}