cancel
Showing results for 
Search instead for 
Did you mean: 

hi, Error[Ta097]: Cannot call intrinsic function "__nounwind __DSB" from Thumb mode in this architecture

APrab
Associate

Im getting this error for all Cubemx Generated Software. Even for the nucleo Project. Please help

 Im bulding a project using stm32f105r8t6.

3 REPLIES 3

You probably use some improper compiler settings, ie. you don't have compiler set to compile code for Cortex-M3.

JW

VRapa
Associate II

Go to Project_settings->Target->Device and added Nordicsemiconductor select any one there and build it... I solved my issue like this

DAwun.1
Associate

I had the same issue while running my code on IAR Embedded Workbench for ARM 7.60.2.

The answer by @VRapa​ worked for me. I followed the instructions (Project --> Options --> General Options --> Target), and under "Device", selected the processor for which the code was written for (in my case, STM32F103VE), and ta-da.

The code now builds with no errors.