2011-06-21 01:18 AM
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.h2011-06-28 02:57 AM
Are you using IAR 6.2?? if yes then follow the step below, the errors will be removed.
Copy the attched file intrinsics.hat pathC:\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=false2011-07-03 09:52 PM
@ Cyril : did u try this? is it solved now???