On 03/14/2012 02:01 AM, gene heskett wrote: > On Wednesday, March 14, 2012 01:58:58 AM Kirk Wallace did opine: > > >> In case anyone might want to know. I've been on IRC lately with AVR >> software problems. I wanted to get an RTS signal feature activated. The >> feature gets turned on by #ifdef's in the source, so I found out I can >> do this by adding the define option, -DRTS_ENABLE, to the Makefile, but >> it didn't work. After much fiddling, I found that make doesn't look at >> source files that don't change since the last make. Since none of the >> source files ever changed, none of the "#ifdef RTS_ENABLE"'s got done. I >> started adding LED toggles in the source to track where the RTS code >> flows and when I got to the serial port file, RTS started working >> because the file got recompiled from the LED toggle change. I removed >> all of the toggles and now have RTS and RS485. Wah Hooo. >> > One of the reasons I am fond of a 'make clean; make'. :) > > Cheers, Gene > Even better is 'make distclean; make'. ;-)
Mark ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
