cancel
Showing results for 
Search instead for 
Did you mean: 

too many arguments in an invocation of macros "__ISB", "__DSB" and "__DMB"

Rw.1
Associate II

Hi team,

I working on stm MCU using IAR ARM Workbench ver8.40.1 and previously I was getting a Fatal error "intrinsic. h", anyhow I solved it by giving as "intrinsics. h" and later I got this error.

0693W000007Z4PwQAK.pngthanx in advance.

5 REPLIES 5
Ozone
Lead

Such errors are often caused by missing or wrong toolchain definition macros.

Rw.1
Associate II

Fatal Error[Pe1696]: cannot open source file "intrinsic.h" -previous i was getting this error...later i made changes to #include<intrinsic.h> to #include<intrinsics.h> and how to resolve same problem..

and plz find the file0693W000007Z5I3QAK.png

Rw.1
Associate II

Then how to solve those errors?

thanks

Ozone
Lead

Have you tried to locate the intrinsic.h file, and add the path to the project includes ?

Are you sure it's not <intrinsics.h> ?

That would be in ..<EWB_version/arm/inc/c

Piranha
Chief II

The CPU architecture is not set correctly in compiler options.