Commit graph

50 commits

Author SHA1 Message Date
dak664 0b2d3d1615 Refactor clock code with optional interrupt optimizing.
Put periodic radio calibration on conditional.
2011-03-13 13:07:32 -04:00
dak664 6a5c8ff1c4 Include file needed for slip rpl-border-router build 2011-03-11 14:10:30 -05:00
dak664 46297de770 Allocate variable only when mass storage is enabled 2011-02-23 14:06:06 -05:00
dak664 b41e8f384e Add initial atmega128rfa1 file 2011-02-07 20:28:17 -05:00
dak664 f1f32c8e6a Add combined MCU and radio ATmega128rfa1 2011-02-07 13:46:34 -05:00
dak664 90a6d768ea Keep track of sleeptime and display on status web page. 2010-12-23 19:41:07 +00:00
dak664 013c3ac2f8 Remove contitional on clock updating, it should always be done after a sleep! 2010-12-22 17:09:03 +00:00
dak664 44a2e34005 Resolve TIMER2 conflict between sleep and possible clock usage. 2010-12-22 16:50:30 +00:00
dak664 21b10e8021 Convert obsolete MCU_MHZ to F_CPU and add 14745600MHz case using patch from Tobias Schäfer 2010-12-03 18:16:56 +00:00
dak664 69ef9d57eb sizeof(*) is sizeof first array element 2010-11-12 17:24:36 +00:00
dak664 9194b3ac69 Fix error when RS232 not enabled 2010-10-28 19:31:28 +00:00
dak664 ad6712736b Fix Windows XP RNDIS+CDC serial port enumeration 2010-10-28 19:30:14 +00:00
dak664 258e3cc93a Allow simultaneous use of RS232 and USB serial ports 2010-10-27 14:51:20 +00:00
dak664 123e3cae41 Fix compiler warnings 2010-10-23 15:26:46 +00:00
dak664 7be7a34bbb Fix windows COM port enumeration 2010-10-22 19:15:43 +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
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 0265f09a5c Add RS232 port option to jackdaw USB stick 2010-03-15 18:52:55 +00:00
dak664 5debc183a9 Enable radio stats in sensor cgi as default 2010-02-26 21:38:57 +00:00
dak664 7274f1d1ed Report operating channel with either radio driver 2010-02-23 17:40:09 +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 eb2ac1a154 Make seconds a global variable, add optional radio on time 2010-02-12 14:37:50 +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 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 7af93463b5 Remove compiler warnings 2009-07-23 16:10:42 +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
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 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
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- 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 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
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00