2013-11-28 12:57:41 +01:00
|
|
|
/*
|
2015-08-26 18:43:03 +02:00
|
|
|
* Copyright (C) 2013,2015 Freie Universität Berlin
|
2013-11-28 12:57:41 +01:00
|
|
|
*
|
2014-08-23 15:43:13 +02:00
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
2013-11-28 12:57:41 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup boards_chronos Chronos
|
|
|
|
* @ingroup boards
|
|
|
|
* @brief Support for the chronos board
|
|
|
|
* @{
|
|
|
|
*
|
2014-10-21 16:52:30 +02:00
|
|
|
* @file
|
2013-11-28 12:57:41 +01:00
|
|
|
* @brief Header for the chronos board
|
|
|
|
*
|
2017-04-10 19:04:32 +02:00
|
|
|
* @author unknown
|
2013-11-28 12:57:41 +01:00
|
|
|
*/
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef BOARD_H
|
|
|
|
#define BOARD_H
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-10-28 23:01:45 +01:00
|
|
|
#include <stdint.h>
|
2013-12-09 11:49:00 +01:00
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-03-15 17:11:47 +01:00
|
|
|
/**
|
2017-04-10 19:04:32 +02:00
|
|
|
* @name Define the CPU model for the <msp430.h>
|
2016-03-15 17:11:47 +01:00
|
|
|
*/
|
2013-12-09 11:49:00 +01:00
|
|
|
#ifndef __CC430F6137__
|
|
|
|
#define __CC430F6137__
|
|
|
|
#endif
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2015-08-26 18:43:03 +02:00
|
|
|
/**
|
2017-04-10 19:04:32 +02:00
|
|
|
* @name Xtimer configuration
|
2015-08-26 18:43:03 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2016-07-05 16:45:41 +02:00
|
|
|
#define XTIMER_DEV (0)
|
2015-08-26 18:43:03 +02:00
|
|
|
#define XTIMER_CHAN (0)
|
2016-05-06 22:10:52 +02:00
|
|
|
#define XTIMER_WIDTH (16)
|
2015-08-26 18:43:03 +02:00
|
|
|
/** @} */
|
|
|
|
|
2016-03-02 12:46:34 +01:00
|
|
|
/**
|
2017-04-10 19:04:32 +02:00
|
|
|
* @name MSP430 core configuration
|
2016-03-02 12:46:34 +01:00
|
|
|
* @{
|
|
|
|
*/
|
2017-04-10 19:04:32 +02:00
|
|
|
/** @todo Move this to the periph_conf.h */
|
2010-09-22 15:10:42 +02:00
|
|
|
#define MSP430_INITIAL_CPU_SPEED 7372800uL
|
2013-12-20 13:12:51 +01:00
|
|
|
#define F_CPU MSP430_INITIAL_CPU_SPEED
|
|
|
|
#define F_RC_OSCILLATOR 32768
|
2010-09-22 15:10:42 +02:00
|
|
|
#define MSP430_HAS_DCOR 1
|
|
|
|
#define MSP430_HAS_EXTERNAL_CRYSTAL 1
|
2016-03-02 12:46:34 +01:00
|
|
|
/** @} */
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* BOARD_H */
|
2014-11-30 21:16:41 +01:00
|
|
|
/** @} */
|