Using the implicit rules for libraries leads to problems if one of the
objects fails to build, but the others are still OK. Just make all
library rules explicit to avoid this.
This makes it a lot easier to see what's going on, and let me find
some problems. Use "make Q=" or set Q= blank in your user Makefile
to see the full commands.
This is an attempt to fix and cleanup all of the rules, and get rid of
some of the recursion. We still need to invoke make several times
when we're building for more than one board, and some things can get a
bit weird when that happens, but it should generally work. A single
BOARD=foo build should be fully correct, now.
I attempted to keep things compatible, so existing Makefiles that
include libmc1322x/Makefile.include should still work correctly.
Added the ability to turn on watchdog multiple times - the watchdog
registers are touched only when the watchdog goes from off to on state
to avoid retriggering the watchdog when it shouldn't.
out power data for all incoming and outgoing packets (which causes
problems when there is much traffic), the power data for the packets
is instead logged and periodically printed out in aggregated form.
* Added an optional "keep alive" mechanism whereby an idle network is
periodically probed by dummy packets to maintain a recent quality
metric when there is no traffic.
* Bugfix in when new routing metrics should be advertised
* Rewrote the ACK logic so that a queuebuf is not allocated for each
ack, only for those acks generated by the sink node.
* Updated the wrap-around logic for sequence numbers: when a sequence
number wraps, it won't go back to 0. Instead, it wraps to 128. This
allows us to understand when a node has rebooted: when its seqno is <
128, it has recently rebooted.