Added signed 32 bit data type.
This commit is contained in:
parent
813b27d234
commit
4fd1e3ece0
9 changed files with 42 additions and 12 deletions
|
@ -4,6 +4,7 @@
|
|||
typedef unsigned char u8_t;
|
||||
typedef unsigned short u16_t;
|
||||
typedef unsigned long u32_t;
|
||||
typedef long s32_t;
|
||||
typedef unsigned short uip_stats_t;
|
||||
|
||||
#define CC_CONF_REGISTER_ARGS 1
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop OS
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.4 2007/04/11 00:26:27 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.5 2007/05/12 20:58:54 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -79,6 +79,14 @@ typedef uint16_t u16_t;
|
|||
*/
|
||||
typedef uint32_t u32_t;
|
||||
|
||||
/**
|
||||
* The 32-bit signed data type.
|
||||
*
|
||||
* This may have to be tweaked for your particular compiler. "signed
|
||||
* short" works for most compilers.
|
||||
*/
|
||||
typedef int32_t s32_t;
|
||||
|
||||
/**
|
||||
* The statistics data type.
|
||||
*
|
||||
|
|
|
@ -58,6 +58,14 @@ typedef unsigned short u16_t;
|
|||
*/
|
||||
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.
|
||||
*
|
||||
|
|
|
@ -130,6 +130,7 @@ typedef unsigned char u8_t;
|
|||
typedef unsigned short u16_t;
|
||||
|
||||
typedef unsigned long u32_t;
|
||||
typedef long s32_t;
|
||||
|
||||
/**
|
||||
* The statistics data type.
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: contiki-conf.h,v 1.4 2007/04/11 00:27:17 oliverschmidt Exp $
|
||||
* @(#)$Id: contiki-conf.h,v 1.5 2007/05/12 21:00:56 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -47,6 +47,7 @@
|
|||
typedef uint8_t u8_t;
|
||||
typedef uint16_t u16_t;
|
||||
typedef uint32_t u32_t;
|
||||
typedef int32_t s32_t;
|
||||
typedef unsigned short uip_stats_t;
|
||||
|
||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: contiki-conf.h,v 1.4 2007/04/11 00:27:56 oliverschmidt Exp $
|
||||
* @(#)$Id: contiki-conf.h,v 1.5 2007/05/12 21:01:20 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
|
@ -48,6 +48,7 @@
|
|||
typedef uint8_t u8_t;
|
||||
typedef uint16_t u16_t;
|
||||
typedef uint32_t u32_t;
|
||||
typedef int32_t s32_t;
|
||||
typedef unsigned short uip_stats_t;
|
||||
|
||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop OS
|
||||
*
|
||||
* $Id: contiki-conf.h,v 1.6 2007/04/11 00:28:26 oliverschmidt Exp $
|
||||
* $Id: contiki-conf.h,v 1.7 2007/05/12 21:01:54 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -77,6 +77,14 @@ typedef uint16_t u16_t;
|
|||
*/
|
||||
typedef uint32_t u32_t;
|
||||
|
||||
/**
|
||||
* The 32-bit signed data type.
|
||||
*
|
||||
* This may have to be tweaked for your particular compiler. "signed
|
||||
* short" works for most compilers.
|
||||
*/
|
||||
typedef int32_t s32_t;
|
||||
|
||||
/**
|
||||
* The statistics data type.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* -*- C -*- */
|
||||
/* @(#)$Id: contiki-conf.h,v 1.14 2007/04/11 15:22:05 bg- Exp $ */
|
||||
/* @(#)$Id: contiki-conf.h,v 1.15 2007/05/12 21:02:23 oliverschmidt Exp $ */
|
||||
|
||||
#ifndef CONTIKI_CONF_H
|
||||
#define CONTIKI_CONF_H
|
||||
|
@ -74,6 +74,7 @@ void msp430_cpu_init(void); /* Rename to cpu_init() later! */
|
|||
typedef unsigned char u8_t;
|
||||
typedef unsigned short u16_t;
|
||||
typedef unsigned long u32_t;
|
||||
typedef long s32_t;
|
||||
typedef unsigned short uip_stats_t;
|
||||
typedef unsigned short clock_time_t;
|
||||
|
||||
|
|
|
@ -119,6 +119,7 @@ typedef unsigned long clock_time_t;
|
|||
typedef unsigned char u8_t;
|
||||
typedef unsigned short u16_t;
|
||||
typedef unsigned long u32_t;
|
||||
typedef long s32_t;
|
||||
typedef unsigned short uip_stats_t;
|
||||
|
||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||
|
|
Loading…
Reference in a new issue