Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: SLEEP_CODE ERROR Running Linker on IAR 8.10 CC2530 Application

$
0
0

First of all: Thank you Igor and thank you Dirty!

Aniway,  I tried the .xcl file you suggested (even if I had already tried that one) and even tried to insert a SLEEP_CODE segment definition in it but it didn't work..

Maybe, you can suggest a more proper definition of this segment

I inserted the one i am reporting: 

// Sleep PCON instruction must be 4-byte aligned.
//
-D_SLEEP_CODE_SPACE_START=(_CODE0_END-7)
-D_SLEEP_CODE_SPACE_END=(_CODE0_END)
-Z(CODE)SLEEP_CODE=_SLEEP_CODE_SPACE_START-_SLEEP_CODE_SPACE_END
//

This was taken from a modified version of the ti_51ew_cc2530b.xcl file. 

I'm aware of the fact that the best solution is to completely redevelope the application starting from the sample, but I hope to get the help i'm desperately needing since i'm quite in a hurry. Can you suggest any other solution please?

Thanks a lot!


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>