Commit graph

171 commits

Author SHA1 Message Date
Mariano Alvira
6b45e353e1 add uart1, uart2 and a common uart.h include 2011-07-08 18:48:19 -04:00
Mariano Alvira
0d1cc63b04 add xtal trimming program 2011-05-17 16:26:03 -04:00
Mariano Alvira
81a0a0356d add watchdog timer example 2011-03-22 14:51:08 -04:00
Mariano Alvira
c27e96f1e9 add adc support 2011-03-11 16:25:23 -05:00
Mariano Alvira
c7dc2a45a4 add pwm support 2011-03-11 16:24:50 -05:00
Mariano Alvira
4d6562a0bc support ASM encryption module 2011-02-28 18:44:42 -05:00
Mariano Alvira
5012757673 add rx_time parameter and fill with *MACA_TIMESTAMP 2011-02-18 12:35:20 -05:00
Mariano Alvira
a4ef14f204 strip cvs style keywords from everything 2011-02-12 18:12:45 -05:00
Mariano Alvira
7c7864eae2 add autoacking 2011-02-12 15:29:11 -05:00
Mariano Alvira
d8d8c77a2c cycle channel on keypress. 2010-12-24 14:30:06 -05:00
Mariano Alvira
9de2fc5997 need these stubs if you are using a linux toolchain 2010-11-20 11:46:07 -05:00
Mariano Alvira
47fe336c51 Use the CS toolchain by default:
http://www.codesourcery.com/sgpp/lite/arm/portal/release642
2010-11-17 15:02:35 -05:00
Mariano Alvira
4d47f83d8f modify flasher.c to not create a vaild boot magic number if the length
of the file is zero

modify mc1322x-load.pl to optionally send a zero length file with -z;
extra data on the command line is still written.

This allows you to burn the mac adress without flashing a vaild image.
2010-09-06 12:05:34 -04:00
Mariano Alvira
053f73dce4 discard received packets --- this lets you run multiple rftest-tx's at
the same time.
2010-09-06 11:26:26 -04:00
Mariano Alvira
aeaa67bb1a fix bug in print_packet
Thanks dean and jim.
2010-08-18 16:14:13 -04:00
Mariano Alvira
36d0b2708d get LQI of received packets 2010-08-18 14:55:50 -04:00
Mariano Alvira
beb75cd355 fix long standing bug where the last pages of NVM were not erased
properly.
2010-06-08 16:07:06 -04:00
Mariano Alvira
6195931bd4 add attribution and license headers to source files. TODO item about
start.S and printf.c
2010-05-08 13:03:36 -04:00
Mariano Alvira
18d898d967 fix typo in the usage 2010-04-08 12:17:21 -04:00
Mariano Alvira
e21e8f1a45 use check_maca in rftests 2010-04-06 17:10:28 -04:00
Mariano Alvira
9e05acbd25 everywhere else uses dashes 2010-03-19 22:12:25 -04:00
Mariano Alvira
7272f9aec3 change types to match stdint
have printf test print the sizes of these.
2010-03-17 17:27:21 -04:00
Mariano Alvira
ef0a049035 need to init all led directions and turn all leds off initially 2010-03-17 17:02:07 -04:00
Mariano Alvira
a44e256d3d in tmr-ints:
use reset to clear bit
2010-03-17 15:56:53 -04:00
Mariano Alvira
a7a11f1f63 use reset to clear bits 2010-03-17 15:55:52 -04:00
Mariano Alvira
35c9c66c23 use new gpio interface 2010-03-16 22:03:38 -04:00
Mariano Alvira
c6012611ba remove short addr from packet 2010-03-16 22:02:36 -04:00
Mariano Alvira
334c316c0a make xtal trimming part of the lowlevel init routines. 2010-03-16 10:40:25 -04:00
Mariano Alvira
07e6b65182 fix up long types in printfs
from Clive Stubbings.
2010-03-15 07:24:48 -04:00
Mariano Alvira
fecb5e7bdb many warning cleanups.
Contributed by Clive Stubbings.
2010-03-13 07:30:47 -05:00
Mariano Alvira
85e26336a4 add PHONYs 2010-03-12 17:00:53 -05:00
Mariano Alvira
d0ea93c741 Workaround DEFAULT_GOAL so that you can use older versions of make.
From Jim.
2010-03-12 16:51:49 -05:00
Mariano Alvira
61ef708342 new Makefile with errorchecks for make version number and checks that
$(MC1322X) exists.
2010-03-12 16:43:21 -05:00
Mariano Alvira
0c0f1ab7ca add the submodule init. We don't need it, but people are suppose to
use this Makefile as a template for there own projects.
2010-03-11 16:31:47 -05:00
Mariano Alvira
67aed03b1d added interrupt based uarts. 2010-03-09 18:23:40 -05:00
Mariano Alvira
1ca5cf698a did something sensible to the leds
The buffered packets made the indirect indicators misleading --- now
they match.
2010-03-08 18:39:08 -05:00
Mariano Alvira
f64e689d2c set the third bit to avoid acks. 2010-03-08 18:27:52 -05:00
Mariano Alvira
650e9e7f2f faster transmit delay 2010-03-08 18:13:48 -05:00
Mariano Alvira
ea2646e5ec implement rx callback 2010-03-08 18:12:31 -05:00
Mariano Alvira
d097647edd turn on tx_on 2010-03-08 17:36:42 -05:00
Mariano Alvira
6ab2c0e69a don't send ack's in rftest-tx 2010-03-08 15:22:37 -05:00
Mariano Alvira
06e3e0b207 add maca_init()
changed tests to use it.
2010-03-08 14:49:31 -05:00
Mariano Alvira
386f190720 first byte can't be anything you want it to be. 2010-03-08 12:42:37 -05:00
Mariano Alvira
362cfe43eb add starting maca_isr call.
need to put all this into maca_init()
2010-03-08 12:30:25 -05:00
Mariano Alvira
2a07cbe665 enabled softclk timeouts
fixed post interleaving problem

fixed interrupts in ResumeMACASync.

This seems quite solid now.
2010-03-08 12:03:20 -05:00
Mariano Alvira
d3f6ef07f2 sort out the length details. 2010-03-07 18:48:47 -05:00
Mariano Alvira
fb922c0ab9 transmit at max power 2010-03-07 18:48:36 -05:00
Mariano Alvira
e8eaece25a fix print_packet so that it doesn't break everything 2010-03-07 17:28:40 -05:00
Mariano Alvira
fece5269c7 get the newlines straight in packet_print 2010-03-07 17:14:00 -05:00
Mariano Alvira
024448e65e add an offset to packet_t to compensate for the added length byte on
reception
2010-03-07 17:04:30 -05:00