18 May 23:19
missing GET_FRAME_ADDR_F
Sergei Sharonov <sergei <at> houston-radar.com>
2012-05-18 21:19:52 GMT
2012-05-18 21:19:52 GMT
Dear All,
I am porting some old code from mspgcc v3.x to v4.x and came across
missing macro GET_FRAME_ADDR_F(). I was using that to determine
from ISR if CPU was sleeping:
psr = (int *) GET_FRAME_ADDR_F(__FUNCTION__);
if((*psr & (LPM3_bits)) == LPM3_bits) { /* in LPM3 mode */
....
What is the preferred method of doing that with a new toolchain?
Thanks,
Sergei
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
RSS Feed