add new board for the QuahogCon badge

This commit is contained in:
Mariano Alvira 2010-03-16 22:06:06 -04:00
parent 9dc8f46550
commit 7d02575d16
2 changed files with 23 additions and 1 deletions

View File

@ -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)

22
board/quahogcon.h Normal file
View File

@ -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 <std_conf.h>
#endif