Commit graph

6222 commits

Author SHA1 Message Date
adamdunkels 6fcef66675 Bugfixed version of MSPsim: the previous version would cause timer drift when a TxCCR register was written to 2011-01-21 07:46:57 +00:00
enricmcalvo 47613e57ad Added test program in the z1 examples directory for the tmp102 temperature sensor. 2011-01-20 10:28:48 +00:00
enricmcalvo 594d033c04 Added device drivers for tmp102 sensor for the Zolertia Z1 platform. 2011-01-20 10:28:00 +00:00
joxe 801a7e1149 fixed bug with uart DMA 2011-01-19 20:44:20 +00:00
salvopitru 6864494646 Added some parameter checks. 2011-01-19 09:22:23 +00:00
salvopitru 5fcae86be3 Now it is putchar that has to be redefined (instead of __io_putchar), like other platforms. 2011-01-19 09:13:06 +00:00
adamdunkels 8f283b3989 Bugfix 2011-01-19 07:30:31 +00:00
adamdunkels 6f076dbe1a A set of compiler options that reduce the size of the final code size and RAM usage with ~10%. Courtesy of Simon Duquennoy. 2011-01-19 07:24:37 +00:00
nvt-se 50aee97fc2 More comments + minor adjustments to the header file 2011-01-19 05:09:57 +00:00
nvt-se d34de25f29 A facility for testing units of Contiki software. 2011-01-18 19:10:06 +00:00
maralvira 68180c0574 use network 230 --- 802.15.4 no-FCS 2011-01-18 16:58:18 +00:00
adamdunkels bb2e3b25bd Larger default DMA tx buffer size, to allow SLIP operation. Warn if DMA is enabled, since MSPsim does not yet support it. 2011-01-18 16:07:16 +00:00
adamdunkels 4b4b8fad56 More recent packet entries. Allow 4 queue entries to be dedicated to generated packets. 2011-01-18 16:05:53 +00:00
adamdunkels 808c21fbfa Bugfix: default should be 3 MAC-level retransmissions if collissions or loss occurs 2011-01-18 16:03:57 +00:00
adamdunkels affba785b5 Enabled phase-lock only for channel check rates of 32 Hz or lower 2011-01-18 16:03:19 +00:00
nifi 3d28da8813 Coffee no longer uses watchdog calls 2011-01-18 15:49:37 +00:00
nifi 1e69c4c795 Moved watchdog_periodic into the lowest level to avoid multiple redundant calls higher up 2011-01-18 15:48:38 +00:00
nvt-se 9ad02dbdd8 Removed header inclusion 2011-01-18 14:58:39 +00:00
nvt-se 28421f1fe2 Removed watchdog calls from Coffee 2011-01-18 14:06:33 +00:00
nvt-se 00ac8cfaa0 Moved watchdog_periodic into the lowest level to avoid multiple redundant calls higher up 2011-01-18 14:03:55 +00:00
joxe db0423af20 added response to Mac addr request and added addrs in printout 2011-01-17 20:05:51 +00:00
maralvira ce92a90e58 new timer setup routines. 2011-01-17 15:51:19 +00:00
maralvira b3c8c14b7d add timer setup routines 2011-01-17 15:51:02 +00:00
maralvira ca098db611 fix a race condition regarding advancement of the softclock. Without
this, the advancment would fail to trigger a tx cycle
occasionally. This would cause the packet to get deferred until the
next expiration of the softclock.
2011-01-17 15:49:17 +00:00
maralvira 40bb4b80dc whitespace fixup to sync with libmc1322x 2011-01-17 15:48:39 +00:00
maralvira 6fb75263f9 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-17 15:47:23 +00:00
maralvira d82b004154 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-17 15:47:08 +00:00
maralvira d0227afbed cycle channel on keypress. 2011-01-17 15:46:27 +00:00
maralvira c78e1e345e add stdint.h 2011-01-17 15:45:02 +00:00
maralvira 0445a4f78f add cmdline options to set the intercharacter delays. 2011-01-17 15:44:18 +00:00
maralvira fb8c08ca7c only use these stubs with linux toolchains 2011-01-17 15:42:24 +00:00
salvopitru dcff411f9d New example for mb851 board that comes from sky-websense. 2011-01-17 10:58:04 +00:00
salvopitru 9aa734936f RANDOM_MAX changed to RANDOM_RAND_MAX. 2011-01-17 10:08:14 +00:00
salvopitru fb75503624 'BTM' can be defined to flash devices already in bootloader mode.
COFFEE_FILES changed to COFFEE.
2011-01-17 09:41:47 +00:00
salvopitru a9b1b37bec Added definition of BAUD2UBR macro. 2011-01-17 09:22:24 +00:00
salvopitru 8e0bcaee50 Added new options that make wpcapslip6 work also with the rpl-border-router. 2011-01-17 09:16:55 +00:00
joxe d7712b27d0 added undef of putchar for platforms where it is a macro 2011-01-14 17:57:48 +00:00
adamdunkels 26e3b6fdc0 Bugfix by Simon Duquennoy: don't transmit packet until previous packet has been sent by the RDC layer. 2011-01-13 19:06:22 +00:00
adamdunkels 6f89233b01 Print out the speedup when simulation stops 2011-01-13 19:05:09 +00:00
nifi 569895af1c Removed void * operations 2011-01-12 22:58:33 +00:00
joxe 8663cb8921 fixed compilation error 2011-01-12 20:00:48 +00:00
joxe ce46b7c6cb patched rest-code for econotag 2011-01-12 18:32:36 +00:00
joxe 20f8777fd6 patched rest-example 2011-01-12 18:30:29 +00:00
adamdunkels 820d6eb334 Allow the network to settle before sending first packet. Packet transmissions are now periodic, and randomized within each period. 2011-01-10 15:11:44 +00:00
adamdunkels 81d23a3a36 Minor bugfixes pertaining to queue handling: if a packet was explicitly dropped, the packet would later be acknowledged despite it never being received; added a limit on how many queue entries that can be used for packets that are being forwarded, to allow for originated packets even if the forwarding queue is filled. 2011-01-10 15:10:43 +00:00
adamdunkels 70f9f075a0 Safeguard against NULL arguments 2011-01-10 15:08:52 +00:00
adamdunkels 928cb1fc84 Simplified the test code; made the rime_collect and rime_collect_sky tests the same. 2011-01-10 15:05:52 +00:00
adamdunkels 5bbe113e5b Removed reference to unused last_stats 2011-01-10 06:39:53 +00:00
adamdunkels d5851423fd Copied the test code from the sky_shell_collect test, which correctly counts packet receptions and duplicates. Test code is much leaner and meaner now. 2011-01-09 23:51:30 +00:00
adamdunkels 148bd60fe1 Bugfix: the defensive retransmission timer setting must be made before the packet is transmitted, otherwise the retransmission timer will always be for the defensive retransmit 2011-01-09 23:49:27 +00:00