added freescale-ncb board.

This commit is contained in:
Mariano Alvira 2010-05-04 17:14:31 -04:00
parent 7b3a8b9f77
commit 2ae64e0802
2 changed files with 22 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# -*- makefile -*-
BOARDS := redbee-dev redbee-r1 redbee-usb redbee-econotag quahogcon
BOARDS := redbee-dev redbee-r1 redbee-usb redbee-econotag quahogcon freescale-ncb
OBJDIR := obj_$(BOARD)_board
CFLAGS += -I$(OBJDIR) -I$(MC1322X)/board -DBOARD=$(BOARD)

21
board/freescale-ncb.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef BOARD_FREESCALE_NCB_H
#define BOARD_FREESCALE_NCB_H
#define LED_RED 23
#define LED_GREEN 24
#define LED_BLUE 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 8
/* Fine tune: add FTUNE * 156fF (FTUNE is 4bits) */
#define FTUNE 15
#include <std_conf.h>
#endif