Skip to content

Commit faa20f3

Browse files
author
Felipe Torrezan
committed
Update README.md
- Update the CX tool list - Update the way of checking if the compiler is working. CXARM 9.70+ will not return error upon a missing license.
1 parent 94c2490 commit faa20f3

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Before you begin, you will need to download and install the IAR product, CMake a
1414

1515
| Product | For Evaluation | For IAR Subscribers
1616
| - | - | -
17-
| IAR Build Tools (CX) ☁️ | [Contact us](https://iar.com/about/contact) | [for Arm](https://updates.iar.com/?product=CXARM)
18-
| IAR Build Tools (BX) | [Contact us](https://iar.com/about/contact) | [for Arm](https://updates.iar.com/?product=BXARM)[^2] (or for others[^3])
19-
| IAR Embedded Workbench | [Try now](https://www.iar.com/embedded-development-tools/free-trials) | [for Arm](https://updates.iar.com/?product=EWARM)[^2] (or for others[^3])
17+
| IAR Build Tools (CX) ☁️ | [Contact us](https://iar.com/about/contact) | for [Arm](https://updates.iar.com/?product=CXARM)<br>for [RISC-V](https://updates.iar.com/?product=CXRISCV)<br>for [Renesas RL78](https://updates.iar.com/?product=CXRL78)<br>for [Renesas RX](https://updates.iar.com/?product=CXRX)<br>
18+
| IAR Build Tools (BX) | [Contact us](https://iar.com/about/contact) | for [Arm](https://updates.iar.com/?product=BXARM)[^2] (or for others[^3])
19+
| IAR Embedded Workbench | [Try now](https://www.iar.com/embedded-development-tools/free-trials) | for [Arm](https://updates.iar.com/?product=EWARM)[^2] (or for others[^3])
2020

2121
2) Download and install [CMake](https://github.com/Kitware/CMake/releases/latest).
2222

2323
3) Clone this repository to your computer. For more information, see ["Cloning a repository"](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository).
2424

2525
## Building a Basic CMake Project
2626
>[!NOTE]
27-
>While this guide is based on the IAR Build Tools for Arm (CXARM) 9.60.4 on Linux, it should work with other supported IAR products with no or minimal changes.
27+
>While this guide is based on the IAR Build Tools for Arm (CXARM) 9.70.1 on Linux, it should work with other supported IAR products with no or minimal changes.
2828
2929
The most basic CMake project is an executable built from a single source code file. For simple projects like this, a `CMakeLists.txt` file with about half dozen of commands is all that is required.
3030

@@ -84,9 +84,18 @@ During the configuration phase, CMake reads these variables from:
8484
### Configure and Build
8585
We are ready to build our first project! Run CMake to configure the project and then build it with your chosen build tool.
8686

87-
- Before starting to use CMake, make sure your compiler is working properly. Example (for Arm):
88-
```
89-
/path/to/iccarm --version
87+
- Before starting to use CMake, make sure your compiler is working properly. Below you will find an oneliner that will try to compile a simple module:
88+
```console
89+
$ echo "main(){}" | /opt/iar/cxarm/arm/bin/iccarm --output $(mktemp) -
90+
91+
IAR ANSI C/C++ Compiler V9.70.1.475/LNX for ARM
92+
Copyright 1999-2025 IAR Systems AB.
93+
LMS Cloud License (LMSC 1.5.0)
94+
95+
4 bytes of CODE memory
96+
97+
Errors: none
98+
Warnings: none
9099
```
91100

92101
- From the terminal, navigate to the [tutorial](tutorial) directory and create a build directory:

0 commit comments

Comments
 (0)