cancel
Showing results for 
Search instead for 
Did you mean: 

Core cm3

cyril2399
Associate II
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
2 REPLIES 2
rosarium
Associate II
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 II
Posted on July 04, 2011 at 06:52

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