Commit graph

490 commits

Author SHA1 Message Date
Mariano Alvira
71cd2c2ead add PACKET_STATS: extra flags to packets for debugging. 2010-05-22 15:45:52 -04:00
Mariano Alvira
50102c2516 clear forced interrupts after the have been serviced. 2010-05-22 15:45:00 -04:00
Mariano Alvira
d73467dc59 add INTFRC 2010-05-22 15:44:38 -04:00
Mariano Alvira
64081c2fb8 small improvment to count_packets 2010-05-21 12:38:19 -04:00
Mariano Alvira
2fcfe11096 add debug messages to check_maca 2010-05-21 12:00:08 -04:00
Mariano Alvira
7a462268c8 increased the receive length --- this reduces the chance of missing a
packet which managing the radio.
2010-05-13 10:52:26 -04:00
Mariano Alvira
e278ec0242 fixup the uart tx isr. 2010-05-12 16:41:24 -04:00
Mariano Alvira
1460eac9cd move safe_irq_disable and irq_restore to isr.h 2010-05-12 16:40:44 -04:00
Mariano Alvira
e0da07ae95 don't need to reinit maca when the clock stops, just call resume sync
instead.
2010-05-11 17:59:51 -04:00
Mariano Alvira
081c8ce098 decreased recv and tx timeouts. 2010-05-11 15:53:14 -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
07d65a55c9 now BSD license. 2010-05-08 12:55:32 -04:00
Mariano Alvira
39d2037487 changed erase delay to 2 sec --- 1 sec isn't long enough to erase the
entire flash.
2010-05-06 17:27:54 -04:00
Mariano Alvira
2ae64e0802 added freescale-ncb board. 2010-05-04 17:14:31 -04:00
Mariano Alvira
7b3a8b9f77 pulled in gpio_data_get from the quahogcon guys. 2010-05-04 12:55:29 -04:00
Mariano Alvira
444d79e55f more complete quahogcon board header 2010-05-04 12:55:07 -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
14c4faf977 add check_maca and count_packets 2010-04-06 15:09:26 -04:00
Mariano Alvira
74643bbdac don't need to disable irqs in post anymore 2010-04-06 12:55:56 -04:00
Mariano Alvira
e6a92481a1 initialize packet pointers properly. 2010-04-06 12:53:57 -04:00
Mariano Alvira
4f8fc7bdfd add packet bound checks as an option 2010-04-06 12:52:08 -04:00
Mariano Alvira
a3f4bd2378 finish decode status 2010-04-01 19:25:05 -04:00
Mariano Alvira
78f182e658 finished reversing interrupt. Found a very interesting magic
sequence. There is a lot here to try.
2010-04-01 18:33:09 -04:00
Mariano Alvira
e007f72530 this mac uses seqinject in interrupt and rom resumemacasync 2010-04-01 17:31:26 -04:00
Mariano Alvira
605898dab2 this needs to stay off. 2010-03-30 11:50:12 -04:00
Mariano Alvira
c6d3073b9c make tx_head also visible 2010-03-29 19:28:01 -04:00
Mariano Alvira
c6fc0e4d02 pull in set_demodulator_type and clean up maca.h a little (now you can
skim the top of the file and get a decent overview on how to use the
thing).
2010-03-29 11:51:06 -04:00
Mariano Alvira
097922e709 implement tx_callback 2010-03-26 13:33:49 -04:00
Mariano Alvira
556477e6a0 very small tweak to the usb board's trim caps. 2010-03-21 16:03:48 -04:00
Mariano Alvira
63285015b0 remove some reg32 in gpio.h 2010-03-19 22:34:59 -04:00
Mariano Alvira
b39287cc2d move MAX_PACKET_SIZE to maca.h 2010-03-19 22:32:55 -04:00
Mariano Alvira
67db72908a make rx_head visible (in case you want to test if there are packets
waiting)
2010-03-19 22:31:24 -04:00
Mariano Alvira
5b713a1f26 rename radio_on off to maca_on off 2010-03-19 22:29:27 -04:00
Mariano Alvira
654a4349af remove vreg_init from maca 2010-03-19 22:27:41 -04:00
Mariano Alvira
9e05acbd25 everywhere else uses dashes 2010-03-19 22:12:25 -04:00
Mariano Alvira
7b8d97450a clean srecs 2010-03-19 09:10:19 -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
c624e4e475 these gpio routines should be volatile 2010-03-17 16:41:48 -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
407fda80e0 fix typo in tmr.h (which cause tmr_enable register to have the wrong
address)
2010-03-17 15:55:04 -04:00
Mariano Alvira
a5eadcf5a9 Revert "use standard types"
Breaks tmr tests.

This reverts commit c4f438616a.
2010-03-17 15:52:04 -04:00
Mariano Alvira
7d02575d16 add new board for the QuahogCon badge 2010-03-16 22:06:06 -04:00
Mariano Alvira
9dc8f46550 ignore error if bbmc isn't there 2010-03-16 22:05:40 -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
716f166dd3 new interface for dealing with GPIO banks 2010-03-16 22:01:34 -04:00
Mariano Alvira
c4f438616a use standard types 2010-03-16 22:00:38 -04:00