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.
6 years ago.
iar embedded workbench returning mad errors
Hi
i have just installed iar embedded workbench (for ARM) on my pc, and have registered for an evaluation license. i have exported the mbed blinky project from the ARM MBED online IDE, (with the iar embedded option), and have opened the project file in iar. When i try to build or debug however (with an ARM MBED LPC1768 connected i get the following errors (also see screenshot for these))
"Error[Ta148]: Intrinsic function "nounwind iar_builtin_DSB" is not available in this architecture C:\Users\Catriona\Downloads\mbed_blinky_iar_lpc1768\mbed_blinky\mbed\TARGET_LPC1768\core_cm3.h 1537
Error[Ta148]: Intrinsic function "nounwind iar_builtin_ISB" is not available in this architecture C:\Users\Catriona\Downloads\mbed_blinky_iar_lpc1768\mbed_blinky\mbed\TARGET_LPC1768\core_cm3.h 1538
Error[Ta148]: Intrinsic function "nounwind iar_builtin_DSB" is not available in this architecture C:\Users\Catriona\Downloads\mbed_blinky_iar_lpc1768\mbed_blinky\mbed\TARGET_LPC1768\core_cm3.h 1749
Error[Ta148]: Intrinsic function "nounwind iar_builtin_DSB" is not available in this architecture C:\Users\Catriona\Downloads\mbed_blinky_iar_lpc1768\mbed_blinky\mbed\TARGET_LPC1768\core_cm3.h 1754
Error while running C/C++ Compiler
Total number of errors: 4
Total number of warnings: 0 "
I was following the instructions at this link: https://os.mbed.com/handbook/Exporting-to-IAR-Embedded-Workbench Exporting to IAR Embedded Workbench - Handbook | Mbed Support. Please note, changing the compiler toolchain introduces many degrees of freedom in the system; these differences include the translation of C/C++ code to assembly code, the link time optimizations, differences because of the implementations of the C standard libraries, and differences based on compile and link options. os.mbed.com
I have no idea what to do next or how to fix this, help much appreciated
I have been installing all this on an HP pavilion laptop with a windows 10 64 bit OS.
I have posted my question here as have already sent an email to mbed technical support one week ago, and have still had NO response.
Rory
Have the same issue
posted by Victor Tatischev 02 Mar 2019