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.
-- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ 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
