Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago. This question has been closed. Reason: Too broad - no single answer
FIXED / Fatal Error[Pe1696]: cannot open source file "mbed.h" \Iar\Nucleo_blink_led\main.cpp
Hello All,
I am using iar embedded workbench for mbed code compiler. And i have exported Nucleo_blink_led project for iar. But i get a fatal error when i compiler the code.
the fatal error is 'cannot open source file "mbed.h" '
How can i solve this error ?
Ps: I updated the code. I don't face a problem when compiler online mbed
Thanks
This has been tested today (Dec, the 23rd 2016): import NUCLEO_Blink led to online compiler, compile it and test it with online compiler (it works). Then export it with IAR toolchain. Compile with IAR, download and press reset button. It works.