mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
added freescale-ncb board.
This commit is contained in:
parent
7b3a8b9f77
commit
2ae64e0802
@ -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
21
board/freescale-ncb.h
Normal 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
|
Loading…
Reference in New Issue
Block a user