Include msp430def.h for standard defines

This commit is contained in:
nifi 2007-08-16 13:35:33 +00:00
parent fefe56d913
commit 2780aef873

View File

@ -1,6 +1,9 @@
#ifndef __CONTIKI_CONF_H__
#define __CONTIKI_CONF_H__
#define HAVE_STDINT_H
#include <msp430def.h>
#define QUEUEBUF_CONF_NUM 2
#define ENERGEST_CONF_ON 1
@ -37,41 +40,6 @@ unsigned long clock_seconds(void);
#define LOG_CONF_ENABLED 0
/* Standard integer types. */
#include <stdint.h>
/**
* The 8-bit unsigned data type.
*
* This may have to be tweaked for your particular compiler. "unsigned
* char" works for most compilers.
*/
typedef unsigned char u8_t;
/**
* The 16-bit unsigned data type.
*
* This may have to be tweaked for your particular compiler. "unsigned
* short" works for most compilers.
*/
typedef unsigned short u16_t;
/**
* The 32-bit unsigned data type.
*
* This may have to be tweaked for your particular compiler. "unsigned
* long" works for most compilers.
*/
typedef unsigned long u32_t;
/**
* The 32-bit signed data type.
*
* This may have to be tweaked for your particular compiler. "signed
* long" works for most compilers.
*/
typedef long s32_t;
/**
* The statistics data type.
*