Commit graph

196 commits

Author SHA1 Message Date
dak664 774474b7aa Fix compiler warning 2010-10-20 18:57:33 +00:00
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
dak664 110bc0242e Merge CDC-ECM, RNG, DFU bootloader, watchdog, settings manager, energy scan routines of Robert Quattlebaum 2010-09-17 21:59:09 +00:00
joxe 0c5390339f updated to new cc2420 spi naming 2010-06-23 10:44:41 +00:00
dak664 898c00b812 Remove usually extra avr-size command 2010-06-22 17:11:38 +00:00
dak664 e45b1c042b TIMER2 uses TIMER2 interrupt vector! 2010-06-22 16:17:24 +00:00
dak664 ab7f3bd8e3 Option to use 32768Hz watch crystal for timing. Code suggested by Georg von Zengen. 2010-06-18 17:30:30 +00:00
dak664 cb45883970 Turn on DEBUGFLOW and software CRC computation 2010-06-18 15:44:53 +00:00
adamdunkels 3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
dak664 972e2f5d4f Add MCU to avr-size command; Remove fuse and signature from .hex; Give bootloader more memory 2010-05-04 14:14:49 +00:00
dak664 0265f09a5c Add RS232 port option to jackdaw USB stick 2010-03-15 18:52:55 +00:00
dak664 01a3912864 Define and use radio STATE_TRANSITION, improve debug messaging 2010-03-02 16:29:59 +00:00
dak664 39e6f6a830 Clean up, functional webserver for further testing of low power protocols 2010-02-28 21:29:19 +00:00
dak664 d61676b8f7 Add RADIOALWAYSON to monitor packet losses with low power protocols 2010-02-28 21:19:33 +00:00
dak664 5debc183a9 Enable radio stats in sensor cgi as default 2010-02-26 21:38:57 +00:00
dak664 844b3a34f7 Platform 0 was matching by default 2010-02-26 21:15:28 +00:00
dak664 195f5939c4 Clean up after testing 2010-02-26 20:51:48 +00:00
dak664 7274f1d1ed Report operating channel with either radio driver 2010-02-23 17:40:09 +00:00
dak664 4ded42db1e Add sniffer and 802 frame reporting 2010-02-23 17:37:51 +00:00
dak664 b4bc7fc3da Make RF230BB the default radio driver 2010-02-23 02:01:46 +00:00
dak664 cbb8621e30 update to new driver format 2010-02-22 22:23:18 +00:00
dak664 658c35df11 remove debug printf 2010-02-22 22:21:15 +00:00
dak664 a83381de30 add rtimers for cxmac 2010-02-18 17:21:44 +00:00
dak664 fee5efb141 additions for cxmac 2010-02-18 17:20:50 +00:00
dak664 98b69e1bff No sniffer yet for RF230BB 2010-02-16 22:55:20 +00:00
dak664 23f6949af6 RF230BB addition 2010-02-16 22:51:40 +00:00
dak664 b0930cf2ec Move rtimer-arch.c inclusion from platform to cpu 2010-02-16 21:56:15 +00:00
dak664 0f59ba3187 Add rtimers, allow Jackdaw to use RF230BB driver 2010-02-16 21:48:38 +00:00
dak664 893a31f49b Jackdaw additions 2010-02-16 21:41:24 +00:00
dak664 8603f0f0f6 Add RADIOSTATS 2010-02-12 18:00:30 +00:00
dak664 a6ab27402a Add RADIOSTATS 2010-02-12 16:41:02 +00:00
dak664 eb2ac1a154 Make seconds a global variable, add optional radio on time 2010-02-12 14:37:50 +00:00
adamdunkels dea4826f94 Added watchdog.c to the USB stick code 2010-02-07 23:05:20 +00:00
adamdunkels 091483c150 Added dummy watchdog functions for all AVR platforms 2010-02-07 07:43:35 +00:00
c_oflynn 95d0b09954 -Fix that can cause USB stick to freeze up
-Add EEM Support
2010-02-04 10:40:00 +00:00
c_oflynn 15ffaeed86 Fix for error where USB host could send NAK, but isn't considered in jackdaw, resulting in jackdaw hanging 2010-01-24 13:01:58 +00:00
joxe 3e8c63cc09 added radio-makefile for avr + rf230 platforms 2009-09-07 12:05:12 +00:00
joxe 8890904aa2 moved radio specifics out of avr Makefile and added some rs232 defs in order to get MicaZ platform working 2009-09-07 12:02:58 +00:00
dak664 e64b3d8465 Experimental 64 bit Windows 7 drivers. They work with my Phenom. 2009-08-07 16:45:30 +00:00
dak664 283d288f1a Allow hello-world to build, fix makefile ignoring rf230bb 2009-07-26 12:10:38 +00:00
dak664 c1b7375a5a *** empty log message *** 2009-07-23 16:13:48 +00:00
dak664 7af93463b5 Remove compiler warnings 2009-07-23 16:10:42 +00:00
dak664 c62efce258 Add useful comment, fix compiler warnings 2009-07-17 13:47:10 +00:00
dak664 1de298c72a *** empty log message *** 2009-07-08 16:17:07 +00:00
dak664 49989dbe45 Add rf230bb radio driver with conditional make on RF230BB=1 2009-07-08 15:26:17 +00:00
dak664 9aee8dbc16 Fixed bug of no current consequence 2009-07-05 18:50:44 +00:00
nifi 1c6264fddc reordered build path to use cpu files before core 2009-04-06 13:10:14 +00:00
nifi 43c2ccf5d8 fixed clock_seconds to use full 32 bit 2009-04-06 13:08:42 +00:00
adamdunkels 727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +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
c_oflynn 5ec6412fbc *Support for Atmel 'Router Under Mac' (RUM) in Jackdaw 2008-12-10 21:26:05 +00:00
c_oflynn c0e2fd1110 Oops - as pointed out by Daniel Willmann change had a duplicate statement... fixed! 2008-11-29 18:36:12 +00:00
c_oflynn 9fb2c9d836 * Addition of Meshnetics Zigbig platform by Frederic Thepaut <frederic.thepaut@inooi.com>
* Changed default RavenUSB timeout to 3 seconds... seems to give most reliable transmissions
2008-11-29 15:55:02 +00:00
c_oflynn 5ff23c0bec Addition of Atmel Radio Control Board (RCB), device in RZ200 kit 2008-11-09 15:39:49 +00:00
c_oflynn b6e76a4947 Fixed serious bug which causes RNDIS task to end when non-data message are sent via RNDIS interface 2008-11-08 17:11:18 +00:00
c_oflynn f13ec95efa *** empty log message *** 2008-11-08 03:29:15 +00:00
c_oflynn e1463c25a0 Fixed bug that non-IPv6 would hang Jackdaw 2008-11-07 20:32:46 +00:00
c_oflynn 46853d9395 * Channel is saved in EEPROM
* Allow serial port to work with more term emulators
2008-10-27 18:03:25 +00:00
c_oflynn ebb335335a *Added ability to change channel Jackdaw (raven USB) operates on over serial menu 2008-10-26 01:27:55 +00:00
c_oflynn 219846f408 Addition of USB files 2008-10-14 20:16:36 +00:00
c_oflynn a520fe4646 Lots of changes / commits! This allows ravenusbstick example to build at least. 2008-10-14 19:06:51 +00:00
c_oflynn 6e3ee0d917 More updates for raven 2008-10-14 18:38:09 +00:00
c_oflynn a73ed65dac Fixing more possible out of date files. 2008-10-14 18:37:28 +00:00
c_oflynn 15ba03fea5 Adding updated files 2008-10-14 18:36:07 +00:00
c_oflynn 9cc14d43ef Fixing some files... 2008-10-14 18:35:29 +00:00
adamdunkels cdb6226598 Changes to support the Atmel AVR Raven port 2008-10-14 09:44:12 +00:00
adamdunkels db7d9bb131 Radio and 802.15.4 MAC code for the Atmel AVR Raven board 2008-10-14 09:43:40 +00:00
oliverschmidt 604a9c2bf0 Removed (now obsolete) PROCESS_LOADABLE. 2008-02-07 19:56:56 +00:00
joxe f997ec6231 fixed defs and to compile for atmega32 also - has no TCNT3 2007-12-11 17:21:14 +00:00
fros4943 3a0ba03407 added experimental avr rtimer-arch implementation
8 seconds wraparound
2007-11-29 02:44:05 +00:00
fros4943 2564882015 only create full symbols list if SYMBOLS is defined 2007-11-23 06:22:52 +00:00
fros4943 53ea3cd7bf removed symbols from .elf output (but always included with .out)
+ uncommented unused %.ce target (check Makefile.include to enable it)
2007-11-16 09:19:22 +00:00
fros4943 deeed3389a added dummy RTIMER definition 2007-11-01 16:26:58 +00:00
fros4943 559e3eb6ea removed platform specific definitions
+
changed default linker to gcc (as for the default linker arguments)
2007-11-01 16:26:31 +00:00
bg- 0fedf8845d * Standard defines for AVR. 2007-08-16 13:20:09 +00:00
oliverschmidt 75f04995a9 Changed packet drivers from services to plain processes.
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.

Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-26 23:05:36 +00:00
oliverschmidt f0d5a14745 Moved into backyard as it was never ported to Contiki 2.x. 2007-05-26 21:28:30 +00:00
bg- d68e4bd3df * Add missing file. 2007-05-21 14:28:14 +00:00
bg- 2918e5ae20 SLIP for AVR on UART1 2007-02-02 13:13:16 +00:00
bg- 6257bb670b Rename cc2420_uart0.c to cc2420_spi.c 2007-02-01 14:46:07 +00:00
bg- a3fc32318e * Generic AVR stuff. 2007-01-25 18:24:29 +00:00
bg- 20fa9351f2 * First port of CC2420 driver to the AVR. 2007-01-25 18:22:55 +00:00
bg- 8ebe0466a0 * Defines for 8MHz cpus. 2007-01-25 17:55:13 +00:00
bg- 6dea7b68d1 * Fill clock_delay with something (needs rewriting). 2007-01-24 16:28:51 +00:00
bg- 6bb9d0fa04 * Missing volatile. 2007-01-23 12:24:35 +00:00
barner 5d6abc4cfe Provide dummy implementations for the leds and minileds module in order
to unbreak the build.
2006-12-22 17:05:31 +00:00
barner 9735acb03f - Re-implementation of timing facility using timer0 and the internal clock
source. Using an external clock source (esp. the real-time clock) did not
  work. This  might as well be a local problem (e.g. hardware).
- Provide some dummy implementations in order to fix the build.
2006-12-22 17:04:38 +00:00
barner 6eb200cfc1 Fix build: location of eeprom.h changed. 2006-12-22 17:02:24 +00:00
barner 45cbcde797 - Fix/enhence support for RS232 interface on AVR (ATMega128):
* support for multiple ports: (extended interface with 'port' parameter)
 * new function: rs232_redirect_stdout that allows you to redirect stdout
   to a serial port
- In order to implement support for other MCUs, adopt a copy of
   rs232_atmega128.h
2006-12-22 17:00:45 +00:00
barner 86f37e7c1b AVR specific implementation of contiki multi-threating architecture
(supporting per-thread stacks).
2006-12-22 16:55:53 +00:00
barner 265f45feba - Fix build of contiki-2.x AVR port.
- Generate symbol tables for loadable modules.
2006-12-22 16:54:36 +00:00
fros4943 93714fc39f updated reference to "elfloader-tmp" 2006-12-18 15:17:47 +00:00
adamdunkels 8ee4f7fc3d Removed out-commented stuff from Makefiles 2006-06-24 06:23:47 +00:00
adamdunkels 62e32d2b23 Added missing includes and made Ethernut 1 & 2 ports to compile again 2006-06-20 21:23:09 +00:00
adamdunkels 710b372a2d AVR makefile 2006-06-18 07:44:59 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00