From 7d02575d16c4fcb0d238a7502bd93767dbc2e6b7 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Tue, 16 Mar 2010 22:06:06 -0400 Subject: [PATCH] add new board for the QuahogCon badge --- board/Makefile.board | 2 +- board/quahogcon.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 board/quahogcon.h diff --git a/board/Makefile.board b/board/Makefile.board index bd7b93393..fa5a45140 100644 --- a/board/Makefile.board +++ b/board/Makefile.board @@ -1,6 +1,6 @@ # -*- makefile -*- -BOARDS := redbee-dev redbee-r1 redbee-usb redbee-econotag +BOARDS := redbee-dev redbee-r1 redbee-usb redbee-econotag quahogcon OBJDIR := obj_$(BOARD)_board CFLAGS += -I$(OBJDIR) -I$(MC1322X)/board -DBOARD=$(BOARD) diff --git a/board/quahogcon.h b/board/quahogcon.h new file mode 100644 index 000000000..fb095faf1 --- /dev/null +++ b/board/quahogcon.h @@ -0,0 +1,22 @@ +#ifndef BOARD_REDBEE_DEV_H +#define BOARD_REDBEE_DEV_H + +#define LED_RED 12 +#define LED_GREEN 21 +#define LED_BLUE 35 + +/* XTAL TUNE parameters */ +/* see http://devl.org/pipermail/mc1322x/2009-December/000162.html */ +/* for details about how to make this measurment */ + +/* Econotag also needs an addtional 12pf on board */ +/* Coarse tune: add 4pf */ +#define CTUNE_4PF 1 +/* Coarse tune: add 0-15 pf (CTUNE is 4 bits) */ +#define CTUNE 11 +/* Fine tune: add FTUNE * 156fF (FTUNE is 5bits) */ +#define FTUNE 7 + +#include + +#endif