Commit graph

9751 commits

Author SHA1 Message Date
Jim Paris
1391f5f8b5 Remove unused code 2010-09-25 16:42:09 -04:00
Jim Paris
b7727f6595 Move startup code into its own section so the linker can place it first 2010-09-25 16:42:09 -04:00
Jim Paris
d6adce955c Add pin definitions for each timer, they're fixed 2010-09-25 15:33:53 -04:00
Jim Paris
4a5508e5b8 Fix #ifdefs in board files 2010-09-25 15:29:10 -04:00
Jim Paris
b00708cf78 Put main dir on include path
Now the user can supply their own foo.h that obj_foo/board.h will include
2010-09-25 15:26:44 -04:00
Jim Paris
ebac883e25 Handle empty board.a (no COBJS defined) 2010-09-25 15:09:26 -04:00
Jim Paris
744b4f4764 Fix typo, used wrong name for TARGETS_WITH_ROM_VARS.
Also makes the pretty print output specify whether we're linking
against romvars or not.
2010-09-24 18:27:14 -04:00
Jim Paris
0c163122da Pretty-print the output by default.
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.
2010-09-24 18:22:11 -04:00
Jim Paris
87e628b897 Remove old config.mk 2010-09-24 18:07:22 -04:00
Jim Paris
50306de9c3 Fix typo -- no ROMVARS for normal targets. 2010-09-24 18:06:36 -04:00
Jim Paris
7fb074c060 Add structure-based GPIO register definitions 2010-09-24 16:29:43 -04:00
Jim Paris
1a014bab1b Add structure-based timer register definitions 2010-09-24 16:29:43 -04:00
Jim Paris
0a41939407 Makefile cleanup.
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.
2010-09-24 16:29:43 -04:00
fros4943
93b953f815 moved contiki-specific initialization to separate function 2010-09-24 12:59:06 +00:00
fros4943
83adbeee55 register visualizer skin 2010-09-24 12:49:37 +00:00
fros4943
4fe2f4b8d9 visualizer skin showing mote-specific edges (for dgrm) 2010-09-24 12:49:14 +00:00
fros4943
7b31e571e2 minor fix: visualized plugins z-order was not correctly loaded 2010-09-24 12:48:04 +00:00
nifi
ec63e067ee Removed obsolete charts (replaced by more generic versions) 2010-09-24 06:01:16 +00:00
nifi
08bde833ee Made it easier to add/remove columns to the node info table 2010-09-24 06:00:16 +00:00
nifi
384df2da48 Use 0 if no shortest inter-packet time is available 2010-09-24 05:54:04 +00:00
joxe
77c5187a2e fixed bug where context is null but still referenced 2010-09-23 19:57:50 +00:00
joxe
494d2a3073 only compare with global addresses when selecting source for a specific destination 2010-09-23 18:17:27 +00:00
nifi
e242fb28bf Reverted radio API change in CC2420 (not yet fully integrated with Contiki core) 2010-09-23 08:26:06 +00:00
adamdunkels
9ce45ac452 Send only link estimate, not rtmetric + link estimate, for best neighbor 2010-09-22 22:14:03 +00:00
adamdunkels
7c14899eeb Made stack printout on reboot configurable.
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.
2010-09-22 22:12:37 +00:00
adamdunkels
0261af4af2 Made use of the new collect keepalive timer 2010-09-22 22:11:20 +00:00
adamdunkels
b72e90597e Rewrote the default powertrace_sniff() behaviour. Instead of printing
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.
2010-09-22 22:09:52 +00:00
adamdunkels
eed22a6f3c A number of changes to the collect code:
* 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.
2010-09-22 22:08:08 +00:00
adamdunkels
2cae71e89b Added a function for obtaining the link estimate and rtmetric for a neighbor 2010-09-22 22:04:55 +00:00
adamdunkels
46b2451969 Made the initial link estimate explicit 2010-09-22 22:03:21 +00:00
adamdunkels
40ee35e8c8 Rewrote all busy waits with a new macro, which has a built-in timeout to ensure that busy waits won't hang the CPU 2010-09-22 22:01:53 +00:00
nifi
fb9c7607b0 Added charts over next hop changes and estimated lost packets. 2010-09-21 20:24:18 +00:00
joxe
1dc5366b15 fixed buggy comment 2010-09-21 13:15:25 +00:00
joxe
f1d19a5f9a no callback to rpl if rpl is not used 2010-09-21 13:13:09 +00:00
kasunch
75e4e80df2 Adding machine dependent SLIP routines source file to the sources list 2010-09-20 18:34:14 +00:00
kasunch
ce8bb8df9c Adding machine dependent SLIP routines for UART0. 2010-09-20 18:30:25 +00:00
kasunch
6104922c40 Added new network initialization source file to the sources list. 2010-09-20 18:22:28 +00:00
kasunch
4ebc114e90 Now, all network related initialization code segments are in one file 2010-09-20 18:15:27 +00:00
kasunch
3f1bea1ed3 1. Initialized SLIP when uIPv4 or uIPv6 is used.
2. Random number generator is initialized using both node id and unique hardware id
3. Printing MAC address is moved to network initialization section.
2010-09-20 18:07:25 +00:00
kasunch
cdc68b13e0 1. Added uIPv6 configuration options.
2. Fine tuned some configuration options to save RAM.
2010-09-20 17:56:14 +00:00
joxe
63ab1ffce0 clear default route when neighbour is removed 2010-09-20 15:30:12 +00:00
Jim Paris
be25b73b8e Add missing type for TMR0_COMP2 2010-09-18 17:37:06 -04:00
Jim Paris
97ae5e0ba8 Add script to invoke kermit with a particular port and speed 2010-09-18 16:44:57 -04:00
Jim Paris
59aa0c93e1 Use "rm -f" in clean rules to ignore errors 2010-09-18 16:06:11 -04:00
Jim Paris
772fcb43c2 Allow parent makefile to override these variables 2010-09-18 15:56:31 -04:00
dak664
110bc0242e Merge CDC-ECM, RNG, DFU bootloader, watchdog, settings manager, energy scan routines of Robert Quattlebaum 2010-09-17 21:59:09 +00:00
dak664
7b529cac03 Move fakeuip.c to examples directory for proper selection when CONTIKI_NO_NET=1 2010-09-17 16:49:44 +00:00
nifi
bba653f20c Added categories for cleaner tab layout
* Added estimated packet loss and next hop change count to node info panel
2010-09-15 16:15:10 +00:00
nvt-se
58db04ee64 Set a high penalty for packet losses. 2010-09-15 15:59:52 +00:00
nvt-se
072f208a29 Removed unused variable. 2010-09-15 15:55:08 +00:00