1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Added definition of correct MCU model in MSP430-based board headers

This commit is contained in:
Kévin Roussel 2013-12-09 11:49:00 +01:00
parent 63d78a231c
commit afce119138
6 changed files with 32 additions and 5 deletions

View File

@ -22,7 +22,11 @@
#define _MSB_BOARD_H
#include <stdint.h>
#include <cc430f6137.h>
// for correct inclusion of <msp430.h>
#ifndef __CC430F6137__
#define __CC430F6137__
#endif
#define MSP430_INITIAL_CPU_SPEED 7372800uL
#define MSP430_HAS_DCOR 1

View File

@ -32,7 +32,7 @@ and the mailinglist (subscription via web site)
* <h2>Compontents</h2>
* \li MSP430
* \li CC1100
*
*
* @{
*
* @file board.h
@ -46,6 +46,11 @@ and the mailinglist (subscription via web site)
#include "board-conf.h"
// for correct inclusion of <msp430.h>
#ifndef __MSP430F1612__
#define __MSP430F1612__
#endif
//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 2457600uL
#define MSP430_HAS_DCOR 1
@ -62,7 +67,7 @@ and the mailinglist (subscription via web site)
#define LED_RED_OFF LEDS_PxOUT |= LEDS_CONF_RED
#define LED_RED_TOGGLE LEDS_PxOUT ^= LEDS_CONF_RED
#include <msp430x16x.h>
#include "board-conf.h"
typedef uint8_t radio_packet_length_t;

View File

@ -39,6 +39,11 @@ and the mailinglist (subscription via web site)
#ifndef _MSB_BOARD_H
#define _MSB_BOARD_H
// for correct inclusion of <msp430.h>
#ifndef __MSP430F1612__
#define __MSP430F1612__
#endif
//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 7372800uL
#define MSP430_HAS_DCOR 1
@ -55,7 +60,6 @@ and the mailinglist (subscription via web site)
#define LED_RED_OFF LEDS_PxOUT |= LEDS_CONF_RED
#define LED_RED_TOGGLE LEDS_PxOUT ^= LEDS_CONF_RED
#include <msp430x16x.h>
#include "board-conf.h"
typedef uint8_t radio_packet_length_t;

View File

@ -25,6 +25,11 @@
#ifndef _TELOSB_BOARD_H
#define _TELOSB_BOARD_H
// for correct inclusion of <msp430.h>
#ifndef __MSP430F1611__
#define __MSP430F1611__
#endif
//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 8000000uL
#define MSP430_HAS_DCOR 0
@ -50,7 +55,6 @@
#define LED_BLUE_TOGGLE LEDS_PxOUT ^= LEDS_CONF_BLUE
#include <stdint.h>
#include <msp430x16x.h>
typedef uint8_t radio_packet_length_t;

View File

@ -28,6 +28,11 @@
#include "board-conf.h"
// for correct inclusion of <msp430.h>
#ifndef __MSP430F1611__
#define __MSP430F1611__
#endif
//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 800000uL
#define MSP430_HAS_DCOR 0

View File

@ -28,6 +28,11 @@
#include "board-conf.h"
// for correct inclusion of <msp430.h>
#ifndef __MSP430F1611__
#define __MSP430F1611__
#endif
//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 800000uL
#define MSP430_HAS_DCOR 0