Closed ashok-rao closed 7 years ago
I cannot replicate this.
Tested with K64F:
Tool | Result |
---|---|
make_armc5 | PASS |
make_gcc_arm | PASS |
make_iar | PASS |
uvision5 | PASS |
iar | PASS |
Tested with Nucleo F429ZI:
$ mbed export -i make_iar -m NUCLEO_F429ZI
$ make clean
$ make
...
'ielftool' --ihex mbed-os-example-mesh-minimal.elf mbed-os-example-mesh-minimal.hex
IAR ELF Tool V9.20.15.161 [BUILT at IAR]
Copyright 2007-2016 IAR Systems AB.
Loading mbed-os-example-mesh-minimal.elf
Saving ihex file to mbed-os-example-mesh-minimal.hex
Does any of the Make commands work for you?
The error code make (e=2): The system cannot find the file specified.
looks like its coming from process_begin: CreateProcess(NULL, iccarm ...
Can you try iccarm --version
$ iccarm --version
IAR ANSI C/C++ Compiler V7.70.2.11706/W32 for ARM
If its not in the path, it cannot work.
Yes, my PATH variables were messed up for some reason. Issue resolved. Thanks @SeppoTakalo.
Steps to reproduce:
Results in compilation error as below: (Could be issue with exporter or PATH variables too. Reporting here to keep track).