Skip to main content
antonioB
Associate III
Aug 10, 2016 9:08 AM UTC
Question

Bug Report: CubeMX 4.16 and IAR

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
This topic has been closed for replies.

2 replies

Amel NASRI
ST Technical Moderator
Aug 10, 2016 10:05 AM UTC
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 "Best Answer" on the reply which solved your issue or answered your question.
antonioB
antonioBAuthor
Associate III
Aug 22, 2016 9:05 AM UTC
Posted on August 22, 2016 at 11:05

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

bye

Antonio