kmackay / micro-ecc

ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors.
BSD 2-Clause "Simplified" License
1.25k stars 458 forks source link

With latest IAR ARM Embedded workbench version 9.32 not able to compile this code #208

Open kasirajanchellaiah opened 1 year ago

kasirajanchellaiah commented 1 year ago

Complie issue when we tried to compile the code with the latest version of IAR (9.10.2), we encountered an error with the "asm" keyword being undefined. After correcting the syntax to "asm", this issue was resolved.

However, we are now facing other errors such as "Error in inline assembly: "Bad instruction" RESUME_SYNTAX" and "Error in inline assembly: "Expression cannot be forward" ".syntax unified \n\t".

Actually MACRO already defined in top of the file #define RESUME_SYNTAX ".syntax unified \n\t". Still above issue why it is coming ?

matteofumagalli1275 commented 1 year ago

Same issue here

mrx23dot commented 10 months ago

ASM format is compiler dependent.

Just asking why you need crypto on a power bank?