Skip to main content
cyril2399
Associate III
June 21, 2011
Question

Core cm3

  • June 21, 2011
  • 2 replies
  • 729 views
Posted on June 21, 2011 at 10:18

extern uint32_t __get_PSP(void);

Hello,

When I compile an example, I have all these errors, they said incomptabile declaration for all the folowing list:

extern void __set_PSP(uint32_t topOfProcStack);

extern uint32_t __get_MSP(void);

extern void __set_MSP(uint32_t topOfMainStack);

extern uint32_t __REV16(uint16_t value);

extern uint32_t __RBIT(uint32_t value);

extern uint32_t __STREXB(uint8_t value, uint8_t *addr);

extern uint32_t __STREXH(uint16_t value, uint16_t *addr);

For solving this problem I set it as note with ''//'' (ctrl+K)

Is it the good way to do ?

What does it change?

Thanks

#attached-file-:-intrinsics.h
    This topic has been closed for replies.

    2 replies

    rosarium
    Associate
    June 28, 2011
    Posted on June 28, 2011 at 11:57

    Are you using IAR 6.2?? if yes then follow the step below, the errors will be removed.

    Copy the attched file intrinsics.hat path

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

    ________________

    Attachments :

    intrinsics.h : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1JV&d=%2Fa%2F0X0000000bl8%2F3GnmpUr6Vf7j6lJ24pGPytgG6G3_RVh0bzgA9EAaUGI&asPdf=false
    rosarium
    Associate
    July 4, 2011
    Posted on July 04, 2011 at 06:52

    @ Cyril : did u try this? is it solved now???