Skip to main content
Rw.1
Associate
February 22, 2021
Question

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

  • February 22, 2021
  • 5 replies
  • 3184 views

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.

    This topic has been closed for replies.

    5 replies

    Ozone
    Principal
    February 22, 2021

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

    Rw.1
    Rw.1Author
    Associate
    February 22, 2021

    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

    Ozone
    Principal
    February 24, 2021

    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
    Principal III
    February 24, 2021

    The CPU architecture is not set correctly in compiler options.