From fa3685db9c674ead609ad1448881031cfc3545f3 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 8 Sep 2019 19:01:31 -0700 Subject: [PATCH] Project Setup: add IAR Embedded Workbench for Arm --- Project-Setup.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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