Commit graph

509 commits

Author SHA1 Message Date
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
Mariano Alvira cb46d1eed7 clean ftditools 2010-03-16 21:58:27 -04:00
Mariano Alvira 0b507bb8be don't bail on make if you can't do a submodule update. 2010-03-16 20:24:32 -04:00
Mariano Alvira ebb3f8685b Merge branch 'ftditool' 2010-03-16 18:46:12 -04:00
Mariano Alvira d1a4d5334a finished bbmc for now.
complete with respectable command line options and full usage.
2010-03-16 18:44:46 -04:00
Mariano Alvira 64e643bd0b add erase and reset commands 2010-03-16 16:35:39 -04:00
Mariano Alvira 011c6e7276 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-03-16 10:49:49 -04:00
Mariano Alvira 7408b71868 make sure any submodules are updated 2010-03-16 10:48:29 -04:00
Mariano Alvira 334c316c0a make xtal trimming part of the lowlevel init routines. 2010-03-16 10:40:25 -04:00
Mariano Alvira 092a182a5d protect set_channel and set_power from interrupts. 2010-03-16 10:34:11 -04:00
Mariano Alvira 2aa76aaacd init_phy was doing phy initialization and maca reset. maca_reset was
doing nothing useful. This patch factors init_phy and rewrites
maca_reset.
2010-03-16 10:31:35 -04:00
Mariano Alvira 5751beb935 add a way to switch layouts 2010-03-15 19:01:07 -04:00
Mariano Alvira 07e6b65182 fix up long types in printfs
from Clive Stubbings.
2010-03-15 07:24:48 -04:00
Mariano Alvira 8a7b50176e finish up print and prompt device selection. 2010-03-14 19:09:33 -04:00
Mariano Alvira 44a1c7b1fb update usage for flow control switch 2010-03-14 18:09:26 -04:00
Mariano Alvira 537ceafe2f update usage for flow control switch 2010-03-14 18:08:13 -04:00
Mariano Alvira 97f3b88582 add ftditools and Bit-Bang-MC. Right now bbmc can toggle reset on the
econotag.
2010-03-14 17:42:52 -04:00
Mariano Alvira 6bf05a9280 fix board.a creation: only the first COBJ would get built and added to
board.a.
2010-03-13 07:43:44 -05:00
Mariano Alvira fecb5e7bdb many warning cleanups.
Contributed by Clive Stubbings.
2010-03-13 07:30:47 -05:00
Mariano Alvira 7ff7528c85 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-03-12 18:07:02 -05:00
Mariano Alvira 7df1e11fe0 TODO: set radio modes 2010-03-12 18:06:09 -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 73b2a0dfde make it work when COBJS is defined. 2010-03-11 16:31:21 -05:00
Mariano Alvira e06e2143d7 handle empty COBJS 2010-03-11 16:17:18 -05:00
Mariano Alvira a61deb78f4 add a way to disable FCS checking. 2010-03-11 15:18:29 -05:00
Mariano Alvira da7898557d fix how board.a is created and linked 2010-03-11 12:22:47 -05:00
Mariano Alvira 3cd4bf5768 clear the offset when freeing a packet 2010-03-10 17:59:04 -05:00
Mariano Alvira a5f8b58e07 debug PRINTF fixes 2010-03-10 15:35:13 -05:00
Mariano Alvira ecebd094bf fix radio_off for interrupts 2010-03-10 15:35:04 -05:00