mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
econotag and usb boards
This commit is contained in:
parent
5f754e185b
commit
0a51c610d4
22
board/redbee-econotag.h
Normal file
22
board/redbee-econotag.h
Normal 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
21
board/redbee-usb.h
Normal 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
|
Loading…
Reference in New Issue
Block a user