Milos Prokic wrote:
Hey Oleg... just a side point.... U should update your SOS
website because the "quick fix" you have there is asm
volatile("sub #.L__FrameSize_entry"__FUNCTION__",r1" : :);
(change __FrameSize_entry -> __FrameSize_ )
No, it should be with _entry for task definitions due the way task
functions are named in SOS. Not so with interrupt functions. This
is fixed in gcc-current.
Reason why this statement does not work with GCC 3.4 is in way of
handling __FUNCTION__ or __func__ according to C99, which is now
char[] variable and you can't concatenate it with string literal.
Indrek
--
Indrek Rebane | Borthwick-Pignon
Electronics Engineer | Tartu Science Park
Phone: (+372) 7 302 641 | Riia 185, 51014 Tartu
Fax: (+372) 7 383 041 | Estonia
ind...@bps.co.ee | www.bps.co.ee