cancel
Showing results for 
Search instead for 
Did you mean: 

Bug Report: CubeMX 4.16 and IAR

antonioB
Associate II
Posted on August 10, 2016 at 11:08

Hi to all, i use cubeMX and  stm32F401re, all work weel but tree days ago i update the libraries for STM32F4 family, lather this update i create a simple project with cubemx,

when i compile whit IAR  i have this error :

Error[Ta097]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture C:\MRC\example\Drivers\CMSIS\Include\core_cm4.h 1792

Error[Ta097]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture C:\MRC\exemple\Drivers\CMSIS\Include\core_cm4.h 1797

Error while running C/C++ Compiler

if i use KEIL all work well, can you help me?

best regards

Antonio

#cubemx #!bug #iar
2 REPLIES 2
Amel NASRI
ST Employee
Posted on August 10, 2016 at 12:05

Hi AntonioB,

If you are using an IAR version older than 7.50, please try to switch to a more recent one (>= 7.60).

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

antonioB
Associate II
Posted on August 22, 2016 at 11:05

Hi Mayla, thanks for all,  now all work well.

bye

Antonio