On Wednesday, March 14, 2012 11:04:37 AM Mark Wendt did opine: > 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
I tried that 2 or 3 times, ate my lunch every time. Deletes too much. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Kennedy's Market Theorem: Given enough inside information and unlimited credit, you've got to go broke. ------------------------------------------------------------------------------ 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
