Skip to main content
atul
Associate II
August 1, 2011
Question

Declaration ERROR

  • August 1, 2011
  • 2 replies
  • 1025 views
Posted on August 01, 2011 at 14:00

hello,

       i m using IAR kickstart version for code limit of 32k and when i run my example code available on st website for LCD display application, i get an declaration error as :-

Error[Pe147]: declaration is incompatible with ''__interwork __softfp unsigned long __REV16(unsigned long)'' (declared at  D:\atul\IAR\LCD\STM32F10x_AN2790_FW_V2.0.0\Libraries\CMSIS\Core\CM3\core_cm3.h 689 

pls help me if any one can..........

#declaration-error #stm32
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 1, 2011
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    rosarium
    Associate
    August 2, 2011
    Posted on August 02, 2011 at 13:38

    which version IAR are you using?? 6.2??

    if yes once try this following step.

    copy the attached file at

    C:\Program Files\IAR Systems\Embedded Workbench 6.2\arm\inc\c

    ________________

    Attachments :

    intrinsics.h : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1ID&d=%2Fa%2F0X0000000bkw%2F8um80xKNrRN3hq85BLfYJRwv5yyASrlcPzjoPtzZ594&asPdf=false