Commit graph

167 commits

Author SHA1 Message Date
nvt-se ea56edc5c2 added a simple driver for using SD devices through the SPI. 2009-09-22 15:20:51 +00:00
nvt-se 4fd4cb1238 Architecture-dependent Coffee functions for SD cards. 2009-09-17 14:37:32 +00:00
nvt-se 20f449c3e8 micro logs are not needed in SD memory. 2009-09-17 14:19:06 +00:00
nvt-se 519532183f do not enable Coffee until the new SD driver is in place. 2009-09-17 13:28:41 +00:00
nvt-se 84b0ec7798 Removed unstable SD driver (to be replaced.) 2009-09-17 13:24:49 +00:00
nvt-se cd96248306 only turn off if we are not in CC1020_OFF state. (patch by Jesper Karlsson) 2009-09-04 11:00:48 +00:00
nifi e41de15c85 use nodeid 0 if no nodeid has been set 2009-08-24 15:44:45 +00:00
nvt-se 5e0d762e79 Call BIC_SR_IRQ to properly go switch of IRQ mode in the saved flag in the stack. 2009-08-17 11:32:17 +00:00
nvt-se 34a6fc82a3 Backup all the infomem before erasing the segment. Thanks to Frederik Hermans for reporting this. 2009-07-21 16:56:33 +00:00
nvt-se 828439c922 code style compliancy 2009-06-29 12:46:49 +00:00
nvt-se a7faaa9aaa a bit more documentation. 2009-05-26 14:34:22 +00:00
nvt-se cd00bd3fdc switched to calm mode as default. 2009-05-26 13:23:59 +00:00
nvt-se 06a2fc40ec switched to 32-bit iteration variable for long-running tests. 2009-05-26 13:03:44 +00:00
nvt-se 0f6954cc43 added test options for stressing the card and for switching blocks randomly. 2009-05-26 13:00:37 +00:00
nvt-se 28619eabc0 bug fix with sdspi select.
code style fixes.
2009-05-26 13:00:07 +00:00
nvt-se e9d279620f more protection against interrupts that might spoil SPI sequences.
made coding style more like that of contiki.
2009-05-26 12:15:46 +00:00
nvt-se 09a1c115fe initial test port of Coffee for the MSB-430 platform. 2009-05-25 14:14:32 +00:00
nvt-se 8f7f7fb896 enabled random I/O in the SD driver. 2009-05-25 14:13:47 +00:00
nvt-se da91d87ae6 switch of interrupts while writing and reading to the SPI. avoids
desynchronization problems.
2009-05-25 13:19:04 +00:00
nvt-se bcc5084564 removed delay because while loop waits until completion anyway. 2009-05-15 13:54:08 +00:00
nvt-se f9b35795c7 minor refactoring. 2009-05-14 12:18:49 +00:00
nvt-se 172ffb74c7 fix compiler warnings. patch from Jesper Karlsson. 2009-04-08 14:56:00 +00:00
nvt-se e90149b7b4 avoid switching mode when tx or rx is active.
based on suggestions from Frederik Hermans and some code from Jesper Karlsson.
2009-03-30 14:07:34 +00:00
nvt-se 04bd414e1c enabled LPP by default. 2009-03-26 12:51:55 +00:00
nvt-se 90b9b9bae3 configure LPP parameters with slightly longer listen time since the CC1020
driver switches from TX mode to RX mode rather slowly.

decreased CCA check timeout.
2009-03-26 12:47:12 +00:00
nvt-se 25cc327acc avoid hanging in TX mode after CCA check failed.
minor memory savings.
2009-03-25 15:25:05 +00:00
nvt-se 96fbf3b853 use old style C comments.
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se 15c447e57e remove some unnecessary instructions and function calls. patch from Jesper Karlsson. 2009-03-24 15:13:11 +00:00
nvt-se 143c7f9cea switched from serial to serial_line. patch from Jesper Karlsson. 2009-03-24 15:02:03 +00:00
nvt-se 6b22fa60e8 - avoid costly rx state initialization if the radio is already on.
- code formatting.
2009-03-19 14:43:31 +00:00
nvt-se 8f85355f02 print the MAC protocol name when starting the node 2009-03-19 14:14:06 +00:00
nvt-se b9ef907690 enable serial line tools using the same commands as the sky platform's Makefile 2009-03-17 22:27:14 +00:00
nvt-se 7e329ab467 removed obsolete file. 2009-03-17 22:20:04 +00:00
adamdunkels 727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +00:00
nvt-se 7f3def31b7 removed duplicate inclusion of header, and sorted the entries. 2009-03-17 15:02:19 +00:00
nvt-se 6d0fc26ec1 disabled unstable SD driver. 2009-03-17 15:01:40 +00:00
adamdunkels 65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
nvt-se 80bbc92ffe patch from Jesperk Karlsson. ensures that the fp_uart_handler type is known
in the header.
2009-03-12 12:23:22 +00:00
nvt-se c148e2e7ea Do not include codeprop.h by default. 2009-02-23 14:44:26 +00:00
zhitao 5789bf5596 Modified comments for receiver filter bandwidth settings 2009-02-02 08:52:49 +00:00
zhitao a50d5b701e direct the UART input stream to the default Contiki serial process 2008-12-09 15:56:39 +00:00
nvt-se 79d4d22ee7 replaced usage of 16-bit rimeaddr field. 2008-12-02 16:00:15 +00:00
zhitao 6b33cf434f bug fix: using memcpy() to append CRC checksum to odd-size payload caused memory corruption, use individual byte assignments instead 2008-11-25 16:05:22 +00:00
nvt-se 98a42524d3 minor formatting changes 2008-11-17 16:18:52 +00:00
zhitao 0be308b7ce changed RSSI samples count to maximum (=16) 2008-11-17 16:14:09 +00:00
nvt-se 90691eb6a2 crc calculation contributed by Carlo Alberto Buano + some refactoring. 2008-11-11 12:24:43 +00:00
nvt-se 1a6c909736 added sd_write declaration. 2008-11-10 14:32:49 +00:00
nvt-se 7ac98ee257 added missing watchdog_periodic 2008-11-04 15:46:59 +00:00
joxe bc39f2a86c added get_rssi_packet for getting RSSI from the last packet received 2008-10-29 09:22:39 +00:00
nvt-se 4829ffea50 removed supererogatory file 2008-10-28 14:07:32 +00:00