Commit graph

1163 commits

Author SHA1 Message Date
oliverschmidt 26c9ec41f7 Activate uIP logging when "high level config" logging is enabled. 2010-01-30 20:48:31 +00:00
oliverschmidt f5c78bd4fd Added a gnumake 'target-specfic variable' to add the C preprocessor define necessary for clean DLL linkage. 2010-01-30 11:52:01 +00:00
adamdunkels ba2c445676 Reduce the TCP MSS so that it runs nicely over IPv6/802.15.4 2010-01-28 13:38:40 +00:00
oliverschmidt 671bfb0f2b Removed directory.dsc and www.dsc from Visual Studio 2008 build.
There aren't created using the Cygwin build  too - which btw. makes sense as those two programs are configured to have own icons on the desktop.
2010-01-28 12:59:47 +00:00
oliverschmidt 4f9c4d7dda Adjusted the win32 'platform build' (which creates an old-school Contiki OS) to the changed dependency handling.
The special module-compile rule didn't work anymore now that the make doesn't create the .d beforehand. However the ordinary compile rule in Makefile.include turns out to create object files linkable as DLLs - although with warnings. The downside of these warnings seems to be outweight by the benefit of a simpler Makefile.
2010-01-28 12:46:16 +00:00
oliverschmidt 882e4692c7 cc65 2.13. allows to define all necessary paths through the single env var CC65_HOME. 2010-01-27 22:37:15 +00:00
anthony-a f34f720836 move RIME declaration from cpu/cc2430/Makefile.cc2430 . (or at least what I recall, did this months ago!) 2010-01-25 23:18:17 +00:00
fros4943 ee11b61064 bugfix: puts() should append newline character + min buffer size 1024 also with uIP 2010-01-25 12:34:05 +00:00
adamdunkels 5922402b3e Added the CSMA MAC mechanism on top of the default duty cycling
mechanism X-MAC. The CSMA is configurable with a MAC_CSMA define, just
like the MAC protocol is configurable with the MAC_DRIVER define.
2010-01-25 11:48:16 +00:00
c_oflynn 9f6a069f96 New USB IPv6 address translation, works better with bridges. Enabled by a #define at start of sicslow_ethernet.c 2010-01-24 14:14:13 +00:00
adamdunkels 11362d0489 Remove the default list of sensors from the main() file to save space - those apps that need them can use them directly in any case 2010-01-21 11:17:08 +00:00
nifi c9a48aa752 Updated to match the new sensors API 2010-01-15 21:37:15 +00:00
nifi a7f8761978 Updated to match the new sensors API 2010-01-15 10:34:36 +00:00
adamdunkels 2f19892f74 Updated with the new sensors API 2010-01-15 08:50:39 +00:00
nifi 467df8ad4c reverted accidental commit 2010-01-14 22:26:38 +00:00
nvt-se d2655eac7a make watchdog management slightly more abstract to simplify porting 2010-01-14 21:16:58 +00:00
adamdunkels 46753473fa Added constants for light sensor values 2010-01-14 20:23:02 +00:00
adamdunkels 9ae29c3be5 Added light, sht11, battery sensors; restored light and battery activation since rtimers don't work without them (at present) 2010-01-14 20:18:23 +00:00
adamdunkels bb63085f60 Added SHT11 sensor API for Tmote Sky 2010-01-14 20:16:52 +00:00
adamdunkels 4f6f6c972d Use new sensors API 2010-01-14 20:15:55 +00:00
nifi 00e8164e58 updated vibration sensor name to Contiki standard 2010-01-14 20:02:55 +00:00
nifi dbe56e4666 Updated to match the new sensors API 2010-01-14 20:01:18 +00:00
nifi 4ffa7b95b7 Updated to match the new sensors API 2010-01-14 19:19:50 +00:00
nifi 7154b4c68d Removed references to irq, which is not used with the new sensor APIs 2010-01-14 19:14:47 +00:00
nifi 2a7ad011c5 Updated to match the new sensors API 2010-01-14 19:12:31 +00:00
nifi e1c6c4993a Removed references to irq, which is not used with the new sensor APIs 2010-01-14 18:13:33 +00:00
nifi 24f28f0f1c Updated to match the new sensors API 2010-01-14 17:39:35 +00:00
joxe 071a9eaa6b adapted for new sensor APIs 2010-01-14 16:13:45 +00:00
nifi e0c0808767 removed obsolete file 2010-01-14 15:55:15 +00:00
joxe 3c0dcb45c7 fixed for updated sensors API 2010-01-14 15:50:13 +00:00
adamdunkels fe126bc90e Updated to match the new sensors API 2010-01-14 15:38:56 +00:00
nifi 4d03a30456 removed obsolete file (available in core/dev) 2010-01-14 14:00:45 +00:00
joxe 31ea888b75 fixed Sky platform for new sensor APIs 2010-01-14 14:00:38 +00:00
joxe 4a3953204f changed sky sensors to new api 2010-01-14 13:53:06 +00:00
matsutsuka 23d5f84a46 Workaround for compiling some examples available 2009-12-16 06:47:17 +00:00
matsutsuka a628b0c581 minor aesthetic modification 2009-12-11 15:00:38 +00:00
matsutsuka 1586b3b5c4 fixed minor bug of mt-test due to sdcc 2009-12-11 14:59:45 +00:00
matsutsuka ebe74fed56 size-optimization option and peep-hole optimizer have been introduced.
object files have been moved to binary directory
2009-12-11 14:59:31 +00:00
adamdunkels e3fed27f4a Broke out the CC2420 SFD interrupt into a separate file to allow easier overloading with project-specific files 2009-12-05 19:42:56 +00:00
nifi 3c1a7f3bc7 * Added configuration for radio receive buffer size (default Rime packet size)
* Added configuration for beep on bad crc
* Changed to drop packet if read buffer is too small rather than truncating data
* Turn off energest-listen during transmission
2009-11-19 18:04:02 +00:00
nifi c89028a11f reduced serial line buffer size 2009-11-18 15:34:57 +00:00
nifi bb0ffe0478 moved rime initialization into rime router so it is easier to switch IPv6 routing module 2009-11-18 13:51:55 +00:00
nvt-se 7a9e9c72a1 switched to new radio return values 2009-11-13 12:38:14 +00:00
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