diff --git a/Project-Setup.md b/Project-Setup.md index fb14cf2..8ef01ed 100644 --- a/Project-Setup.md +++ b/Project-Setup.md @@ -227,6 +227,20 @@ If the compiler driver is a GCC cross-compiler, `--target=` may be required. Sup Otherwise clang will `error: unknown target CPU 'armv7a'`. +#### IAR Embedded Workbench for Arm + +See . + +``` +%compile_commands.json +-target +armv7-linux-gnueabi +-D__ICCARM__ +-U__GNUC__ +-U__clang__ +-isystem../Config/exec/arm/inc/c +``` + ## `compile_commands.json` examples ### Linux kernel