Skip to main content
antonioB
Associate III
August 10, 2016
Question

Bug Report: CubeMX 4.16 and IAR

  • August 10, 2016
  • 2 replies
  • 696 views
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
Technical Moderator
August 10, 2016
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
antonioBAuthor
Associate III
August 22, 2016
Posted on August 22, 2016 at 11:05

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

bye

Antonio