Commit graph

7022 commits

Author SHA1 Message Date
Jim Paris
ae70d57d75 Clear BSS at startup 2010-09-28 16:29:36 -04:00
Jim Paris
03293b60ad Fix a makefile dependency with libraries
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.
2010-09-28 16:01:15 -04:00
oliverschmidt
8631ae8515 Made cfs-based webserver example compatible with 8.3 file systems. 2010-09-28 19:43:50 +00:00
oliverschmidt
8eeeef17d1 Made cfs-based webserver example compatible with 8.3 file systems. 2010-09-28 19:36:16 +00:00
oliverschmidt
b2fe3db298 Just name the binary always 'contiki'. 2010-09-28 19:23:30 +00:00
Jim Paris
6b4d6a9ade Use a variable for all target objects
Instead of specifying them individually.  This lets included makefiles
(like my audio/Makefile.include) append objects.
2010-09-28 02:54:23 -04:00
adamdunkels
32ba90ea4c Bugfix: make sure that neighbor exists before attempting to update tx
count.
2010-09-28 06:53:02 +00:00
Jim Paris
036b80e3c1 Support hardcoded dependencies, for generated files 2010-09-28 02:15:43 -04:00
Jim Paris
0e6d5bc9dc Another rule to disassemble board objects 2010-09-27 20:04:24 -04:00
Jim Paris
c7c79fc9b4 Add TMR_ADDR helper 2010-09-27 19:32:10 -04:00
Jim Paris
00f4a66bb8 Add rule to disassemble .o files 2010-09-27 17:32:59 -04:00
Jim Paris
9cd46dfd4a Add some useful timer macros 2010-09-27 17:30:02 -04:00
joxe
867100a40c new version of mspsim - a rebuild of COOJA is needed. - several fixes + dwarf support + exception when writing to PxIN 2010-09-27 20:35:19 +00:00
nifi
bf91d4906b Made configuration of node info table persistent 2010-09-26 21:48:21 +00:00
Jim Paris
ac2cac1e1d Register definitions: get rid of some macro magic that doesn't help much
Instead of e.g. GPIO.DATA.GPIO_08, you now use GPIO->DATA.GPIO_08.
2010-09-26 16:05:12 -04:00
Jim Paris
bf94b6d3bd Add structure-based ITC access 2010-09-26 15:59:11 -04:00
Jim Paris
920954f398 REF_OSC is a 32-bit number, not 64-bit number 2010-09-25 23:16:59 -04:00
Jim Paris
2f52fdd156 Add cal_isr() support 2010-09-25 22:51:19 -04:00
Jim Paris
6c93b8fb0b Add structure-based CRM definitions 2010-09-25 22:40:40 -04:00
Jim Paris
ba2792a70b Force linker to treat "_start" as undefined, so it pulls it in from src.a. 2010-09-25 17:48:28 -04:00
Jim Paris
9b6f648efb Add macro to help compute TMR.ENBL values (useful when using #defined
values to represent timers)
2010-09-25 17:16:12 -04:00
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