--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote: > I used the __func__ compiler symbol which worked fine, except, > as far as I can tell WinAVR insists on placing the function > name in SRAM space as opposed to program space [...] Yes, all constant strings are RAM-based unless you specify otherwise. The PSTR() macro defines a string residing in program space, e.g. PSTR(__func__) Of course, your code will need to be modified to read the string's characters from Flash, too. Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Message
Re: Function call tracing
2011-01-15 by Don Kinzer