Commit Graph

68 Commits

Author SHA1 Message Date
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
6e45dfe5ff PROGMEM changes needed for newer avr-gcc compiler 2012-02-21 11:10:57 -05:00
Nicholas J Humfrey
1cda3da17e Converted u8_t to uint8_t and u16_t to uint16_t in the cpu directory. 2012-02-21 08:33:24 -05:00
David Kopf
7ca141b457 Access uart registers directly instead of through intermediate addresses in a RAM struct.
Add a platform define to reduce the number of ports supported by the cpu.
2012-01-21 13:49:58 -05: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
53737d9a38 Use correct prescale factor 2011-08-18 13:58:20 -04:00
David Kopf
3ea102050b Apply patch of Ivan Delamer for atmega1281 @ 4 MHz 2011-08-17 13:16:46 -04:00
David Kopf
36fa735323 Calculate best prescaler based on F_CPU and CLOCK_CONF_SECONDS. Inspired by patch from Ivan Delamer. 2011-08-17 13:15:26 -04:00
David Kopf
50d1086553 Add changes needed for contikimac 2011-08-13 11:38:38 -04:00
David Kopf
b70d2b3163 Remove duplicate code block 2011-08-05 17:34:38 -04:00
David Kopf
c9b19ce655 Change timer setups for arbitrary CLOCK_CONF_SECOND
Change raven to 128 ticks and enable 32KHz crystal as default.
2011-08-05 15:14:35 -04:00
David Kopf
e2ad2acde4 Add stk500 platform and changes suggested by Daniel Willmann 2011-08-03 11:18:55 -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
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 Schfer 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