Ralf Schlatterbeck
08abd8807d
Fixes for platform timer code
...
Some platforms are missing timer channels, this is now left to the
(missing) preprocessor definitions on those platforms, no
platform-specific defines needed anymore.
Also fix usage of timer counter register 3 (hardcoded) in
cpu/avr/dev/clock.c -- this code isn't used on many platforms as it
requires a very special quartz clock frequency but this now also uses
the platform timer specification.
2014-11-19 13:48:42 +01:00
David Kopf
cac4e9a222
Add clock_delay_us and clock_set_seconds to clock.h. Modify clock_wait to use clock_time_t.
...
Remove the troublesome avr/dev/delay.* files.
Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
2012-04-09 15:49:53 -04:00
David Kopf
58298f59db
Add F_CPU=0x800000 option with phase lock to external 32768 Hz crystal
...
Add MCU_CONF_LOW_WEAR option to avoid eeprom writes during development.
2012-01-10 12:42:27 -05:00
David Kopf
81af871db9
Bugfix: use 16 bit tick count to adjust clock after sleep
2011-12-01 09:58:55 -05:00
David Kopf
d1cd3f213c
Add general unsupported interrupt vector suggested by Daniel Willmann
2011-11-14 11:36:18 -05:00
David Kopf
f721f646fa
Adjust sleep time by ticks instead of seconds, proposed by Ivan Delamer
2011-09-10 12:44:49 -04:00
David Kopf
bdec65b889
Fix typos and file endings
2011-08-28 16:04:36 -04:00
David Kopf
50d1086553
Add changes needed for contikimac
2011-08-13 11:38:38 -04:00
David Kopf
0bb585fd60
Replace WEBSERVER by AVR_WEBSERVER
2011-07-24 11:43:17 -04:00
dak664
59109b9893
Fix type, diagnostic interrupt code on conditional
2011-03-13 14:08:02 -04:00
dak664
0b2d3d1615
Refactor clock code with optional interrupt optimizing.
...
Put periodic radio calibration on conditional.
2011-03-13 13:07:32 -04: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
ab7f3bd8e3
Option to use 32768Hz watch crystal for timing. Code suggested by Georg von Zengen.
2010-06-18 17:30:30 +00:00
dak664
5debc183a9
Enable radio stats in sensor cgi as default
2010-02-26 21:38:57 +00:00
dak664
eb2ac1a154
Make seconds a global variable, add optional radio on time
2010-02-12 14:37:50 +00:00
nifi
43c2ccf5d8
fixed clock_seconds to use full 32 bit
2009-04-06 13:08:42 +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
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
adamdunkels
c9e808d638
Import of the contiki-2.x development code from the SICS internal CVS server
2006-06-17 22:41:10 +00:00