Commit graph

1120 commits

Author SHA1 Message Date
nvt-se b909a62265 Reduced application buffer size for SD and switched parameter in cfs-coffee-arch.c 2009-11-11 14:59:33 +00:00
nvt-se 8c040be133 Changed the name of the declaration of the default block size. Reduced the OCR reading timeout. 2009-11-07 01:05:23 +00:00
nvt-se 7aac2d90fb specify that energest.h is in the sys directory. 2009-11-06 17:18:47 +00:00
nvt-se 31850d2e29 wait for RX before reading, and ensure that the byte is read out by using a volatile dummy variable 2009-11-06 15:40:15 +00:00
nvt-se 731e1da844 increase the I/O rate and use etimer_restart to maintain a uniform wait time between iterations 2009-11-06 15:11:52 +00:00
nvt-se f59e89cfb9 Fixed the problem of reads from the SPI where the first byte was sometimes lost.The SPI read function now only generates an idle symbol if there is not a byte
already in the reception buffer.
2009-11-06 14:02:59 +00:00
nvt-se 84f2a077de the return value should be checked against the size of sd_buf instead of buf 2009-11-03 16:18:37 +00:00
nvt-se 9b4cd05e1f Patch from David Gustafsson: break out SPI functions and fix bug in capacity
calculation.

Removed expensive modulo operations from sd_read and sd_write because the block size is now a variable. (nvt)
2009-11-03 15:21:43 +00:00
adamdunkels d3131e1811 Print link-local IPv6 address when booting the node 2009-10-29 22:10:59 +00:00
adamdunkels f03caa357e Allow reprogramming invidual nodes with 'make file.upload MOTE=x' where x is the mote number just like with make login 2009-10-29 22:10:21 +00:00
nifi 831f16cf61 Fixed COOJA quickstart to run COOJA from current directory 2009-10-28 13:39:15 +00:00
fros4943 99a540fd0d macro renamed to SPI_IS_ENABLED() to avoid confusions 2009-10-27 15:33:24 +00:00
fros4943 6b36cd9de9 added macro for checking whether SPI is ENABLED 2009-10-27 15:25:02 +00:00
nvt-se 4a0973a95f specify the number of queuebufs that we want to use in the MSB430 platform by default 2009-10-26 16:11:24 +00:00
kasunch ca6c8818b1 Two comment fixes 2009-10-22 15:48:20 +00:00
nifi 178548413e added option to specify JTAG port for programming 2009-10-22 09:27:46 +00:00
adamdunkels 29e8dae88c Added X-MAC support for IPv6/SICSlowpan nodes, added 802.15.4 default framing to X-MAC 2009-10-19 20:55:52 +00:00
fros4943 bf1920386a increased log buffer size with uIP SLIP 2009-10-19 18:00:49 +00:00
oliverschmidt caaa790add cc65 2.13. comes with secondary linker configs. The 'apple2enh-reboot.cfg' is more or less what was previously engineered as part of Contiki for the Apple2 - now moved into the cc65 distro. 2009-10-18 10:06:44 +00:00
oliverschmidt 18933cc0c3 cc65 2.13. comes with builtin linker configs defining the __STACKSIZE__ symbol as weak. This allows to override the stacksize from the linker command line thus eliminating the need for linker configs maintained by Contiki. 2009-10-18 09:58:21 +00:00
oliverschmidt d8aee18f6c cc65 2.13. allows to
- explicitly set 80 column mode
- control exit behaviour from the program itself (instead of requiring a loader variant).
2009-10-18 09:37:37 +00:00
oliverschmidt d30ccbe81d cc65 2.13. allows to explicitly set 80 column mode. 2009-10-18 09:35:07 +00:00
oliverschmidt 31eb62821f cc65 2.13. features a default-per-target mouse driver so there's no need to deal with their names in Contiki anymore. 2009-10-18 09:33:08 +00:00
adamdunkels 79d7c366a3 Rime polite announcements should be used when IPv6 is enabled, and not used otherwise 2009-10-18 07:15:33 +00:00
nvt-se ed4ee1b5af continue the test by resetting the etimer even if sd_write returns an error. 2009-10-01 16:40:25 +00:00
nvt-se 3e41c7d564 removed the immaterial sd_get_block_size function. 2009-09-24 12:09:26 +00:00
kasunch 1ee52635c8 1. Changed fuse bits to preserve EEPROM through the chip erase when uploading a new OS image.
2. Added a new make rule to erase EEPROM through the chip erase.
2009-09-24 07:09:31 +00:00
kasunch 71b5872045 Added node id restoring at the boot-up. 2009-09-24 06:53:35 +00:00
kasunch 5e1db8b6fa Added node id restoring and burning functions. 2009-09-24 06:51:22 +00:00
kasunch f617b77b87 Added the EEPROM starting address of node id. 2009-09-24 06:45:48 +00:00
nvt-se fc34a4572b Removed the deprecated COFFEE_DIR_CACHE_ENTRIES parameter. 2009-09-22 16:31:36 +00:00
nvt-se 3b205a8912 removed compiler warning about missing declaration. 2009-09-22 16:27:17 +00:00
nvt-se 19d697fd37 use megabyte unit for printing SD card capacity. 2009-09-22 16:24:03 +00:00
nvt-se aef32d8144 moved synchronization word definition to the right place.
removed memcpy call for a two byte copy. also led to a relocation error
in some versions of the mspgcc linker.
2009-09-22 16:20:39 +00:00
nvt-se ce32792812 define U1IFG if it is missing. 2009-09-22 16:04:03 +00:00
nvt-se f698ce2577 Adapted the simple SD test to the new driver and its interface. 2009-09-22 15:37:18 +00:00
nvt-se 12c6dbb7c6 switched to emulated random I/O functions in the SD driver 2009-09-22 15:36:33 +00:00
nvt-se 1fb5841454 introduced WITH_SD parameter. added missing variable. 2009-09-22 15:35:45 +00:00
nvt-se ea56edc5c2 added a simple driver for using SD devices through the SPI. 2009-09-22 15:20:51 +00:00
nifi a71cd04144 reconfigured coffee to use larger sectors and no micrologs, changed the architecture specific erase function accordingly 2009-09-21 14:16:32 +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
kasunch 4319e8b82e 1. Add MAC address displaying during the booting.
2. Set LEDs to turn on at different stages of the booting process.
2009-09-13 21:42:43 +00:00
kasunch 7444c41da9 Adding device driver files for the Dallas Semiconductor DS2401 chip to the CONTIKI_TARGET_SOURCEFILES list. 2009-09-13 21:28:48 +00:00
kasunch e2224a8384 Device driver for the Dallas Semiconductor DS2401 chip. 2009-09-13 21:21:16 +00:00
oliverschmidt 392c3aa2b6 Updated URL from Loader 1.3 to Loader 1.4. 2009-09-13 19:59:34 +00:00
oliverschmidt daf29d0a87 Supply prototype even if there's no implementation (yet) to keep compiler happy. 2009-09-13 19:07:34 +00:00
zdshelby ec02eab6bc - Upgraded the Sensinode platform to use sicslowmac.c
- Improved the rime address setup, setting the RF driver addresses (byte order may not be correct)
2009-09-11 08:03:42 +00:00
adamdunkels bddd31abf2 Fixed compiler warnings 2009-09-09 21:06:51 +00:00
zdshelby c4ae18e37b Initial commit of Sensinode platform files. 2009-09-08 20:06:28 +00:00
zhitao bdce08d39d augmented CFS compliance for a RAM-based, one-file-only file system in Cooja. 2009-09-08 15:08:20 +00:00
kasunch 1bede62d2a Initial files of the MICAz port. 2009-09-08 08:59:29 +00:00
joxe ae8bd7a7b6 added inclusion of radio Makefile for the raven platforms 2009-09-07 12:06:33 +00:00
nifi d4b619bcc5 Renamed SPI_WAITFOREOTxBUF to SPI_WAITFORTxREADY for clarity and generalized SPI transmission status checks to work with both AVR and MSP430 2009-09-07 11:31:26 +00:00
nvt-se 9d7bdad864 use CLOCK_CONF_SECOND. 2009-09-04 13:59:37 +00:00
nvt-se fed4a58102 return the amount of seconds elapsed in clock_seconds() 2009-09-04 13:57:17 +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
nvt-se a21dece53f removed unused state codes and unused printf statements 2009-09-03 12:57:57 +00:00
nifi 3a8ee769cb Changed to monitor the UART transmitter buffer ready flag instead of the UART transmitter empty flag. This almost doubles the speed of transmitting data to CC2420. Patch by James Brown. 2009-08-31 12:06:34 +00:00
nvt-se ebd91b9f9d Removed deprecated dir cache macro. 2009-08-30 20:36:32 +00:00
adamdunkels b71faae330 ext-sensor: new driver for external sensors (e.g. Phidgets) on the Sentilla JCreate, developed by Marcus Lunden 2009-08-25 16:24:49 +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
oliverschmidt f606253f58 Minor adjustment to predominant coding style. 2009-08-09 20:51:19 +00:00
dak664 d5047f43c1 Change ip4 addresses to agree with wiki 2009-08-08 11:42:05 +00:00
dak664 283d288f1a Allow hello-world to build, fix makefile ignoring rf230bb 2009-07-26 12:10:38 +00:00
dak664 8ea4b747d0 Add httpd_s* function layer and HTTPD_STRING_ATTR for strings in different memory types 2009-07-24 15:41:52 +00:00
dak664 a41efba6b4 Add makefsdata.h, remove httpd-fsdata.c, make now creates with /tools/ makefsdata. 2009-07-23 17:43:51 +00:00
dak664 928bbc206a Add static coffee file system to webserver 2009-07-23 16:16:07 +00:00
dak664 c1b7375a5a *** empty log message *** 2009-07-23 16:13:48 +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
dak664 af981496b1 Optional complemented writes/reads and faster word reads 2009-07-15 22:10:08 +00:00
dak664 8e3c2e6334 Passed tests on Raven 1284p in 3 seconds with 56KB program memory disk 2009-07-14 19:23:22 +00:00
nvt-se b0431cc688 removed obsolete offset type definitions. 2009-07-13 20:02:16 +00:00
ksb 292e69a468 Missing file 2009-07-11 15:23:24 +00:00
ksb 3c3714c178 Use IP over Rime 2009-07-11 15:07:59 +00:00
ksb 88669e1675 Test application for USB mass storage 2009-07-11 14:53:02 +00:00
matsutsuka 2aa41337bc followed the name change of serial-line.c 2009-07-09 18:28:20 +00:00
matsutsuka 9a752dab15 aligned the usage of LOADER_UNLOAD macro with other sources 2009-07-09 18:24:56 +00:00
dak664 49989dbe45 Add rf230bb radio driver with conditional make on RF230BB=1 2009-07-08 15:26:17 +00:00
nifi c436b99887 added configuration of MAC driver
added missing initialization of serial-line
added periodic DCO/CPU speed re-synch
2009-07-07 13:06:56 +00:00
nvt-se 1e0ca9ceac Made the use of micro logs configurable to make file modifications
more efficient on storage types that support inline updates.

The sky platform uses logs, and the native platform uses no logs.
2009-06-29 13:30:16 +00:00
nvt-se 828439c922 code style compliancy 2009-06-29 12:46:49 +00:00
nifi 05d4bc4532 allow UIP_CONF_ROUTER to be set as compilation flag 2009-06-29 09:54:39 +00:00
joxe 1cc33ac451 configured routing to off for sky-IPv6 2009-06-26 12:01:23 +00:00
joxe e16d4b0f06 fixed IPV6 flags for sky 2009-06-26 12:00:49 +00:00
nvt-se b912a41ea3 use polite announcements when running Rime over UDP. 2009-06-24 16:44:26 +00:00
nifi 912aba7280 added init function in MAC driver for easier configuration 2009-06-22 11:14:11 +00:00
dak664 17da57e989 All static strings to flash, add wildcard to file-stats cgi 2009-06-19 17:11:28 +00:00
dak664 6c30271ade Fix html compliance, use wildcard in file-stats cgi 2009-06-19 17:09:51 +00:00
nifi 16a9656abd Bugfix: output function was not called with latest version of tcpip. Identified by Pierre de Vos. 2009-06-01 15:13:30 +00:00
nvt-se a7faaa9aaa a bit more documentation. 2009-05-26 14:34:22 +00:00
fros4943 300f3396ac allow contiki motes to handle several contiki events each tick + corrected variables types 2009-05-26 14:08:51 +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