cancel
Showing results for 
Search instead for 
Did you mean: 

Declaration ERROR

atul
Associate II
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
2 REPLIES 2
Posted on August 01, 2011 at 19:28

http://supp.iar.com/Support/?note=75890&from=search+result

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
rosarium
Associate II
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