econotag and usb boards

This commit is contained in:
Mariano Alvira 2010-03-01 13:04:53 -05:00
parent 5f754e185b
commit 0a51c610d4
2 changed files with 43 additions and 0 deletions

22
board/redbee-econotag.h Normal file
View File

@ -0,0 +1,22 @@
#ifndef BOARD_REDBEE_DEV_H
#define BOARD_REDBEE_DEV_H
#define LED_RED (1 << 23)
#define LED_GREEN (1 << 24)
#define LED_BLUE (1 << 25)
/* 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 3
#include <std_conf.h>
#endif

21
board/redbee-usb.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef BOARD_REDBEE_DEV_H
#define BOARD_REDBEE_DEV_H
#define LED_RED (1 << 23)
#define LED_GREEN (1 << 24)
#define LED_BLUE (1 << 25)
/* XTAL TUNE parameters */
/* see http://devl.org/pipermail/mc1322x/2009-December/000162.html */
/* for details about how to make this measurment */
/* Coarse tune: add 4pf */
#define CTUNE_4PF 1
/* Coarse tune: add 0-15 pf */
#define CTUNE 3
/* Fine tune: add FTUNE * 156fF (FTUNE is 4bits) */
#define FTUNE 15
#include <std_conf.h>
#endif