Added signed 32 bit data type.
This commit is contained in:
parent
813b27d234
commit
4fd1e3ece0
9 changed files with 42 additions and 12 deletions
|
@ -1,9 +1,10 @@
|
||||||
#ifndef __6502_CONF_H__
|
#ifndef __6502_CONF_H__
|
||||||
#define __6502_CONF_H__
|
#define __6502_CONF_H__
|
||||||
|
|
||||||
typedef unsigned char u8_t;
|
typedef unsigned char u8_t;
|
||||||
typedef unsigned short u16_t;
|
typedef unsigned short u16_t;
|
||||||
typedef unsigned long u32_t;
|
typedef unsigned long u32_t;
|
||||||
|
typedef long s32_t;
|
||||||
typedef unsigned short uip_stats_t;
|
typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define CC_CONF_REGISTER_ARGS 1
|
#define CC_CONF_REGISTER_ARGS 1
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki desktop OS
|
* 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;
|
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.
|
* The statistics data type.
|
||||||
*
|
*
|
||||||
|
|
|
@ -58,6 +58,14 @@ typedef unsigned short u16_t;
|
||||||
*/
|
*/
|
||||||
typedef unsigned long u32_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.
|
* The statistics data type.
|
||||||
*
|
*
|
||||||
|
|
|
@ -130,6 +130,7 @@ typedef unsigned char u8_t;
|
||||||
typedef unsigned short u16_t;
|
typedef unsigned short u16_t;
|
||||||
|
|
||||||
typedef unsigned long u32_t;
|
typedef unsigned long u32_t;
|
||||||
|
typedef long s32_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The statistics data type.
|
* The statistics data type.
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* 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__
|
#ifndef __CONTIKI_CONF_H__
|
||||||
|
@ -44,9 +44,10 @@
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
|
||||||
typedef uint8_t u8_t;
|
typedef uint8_t u8_t;
|
||||||
typedef uint16_t u16_t;
|
typedef uint16_t u16_t;
|
||||||
typedef uint32_t u32_t;
|
typedef uint32_t u32_t;
|
||||||
|
typedef int32_t s32_t;
|
||||||
typedef unsigned short uip_stats_t;
|
typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* 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__
|
#ifndef __CONTIKI_CONF_H__
|
||||||
|
@ -45,9 +45,10 @@
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
|
||||||
typedef uint8_t u8_t;
|
typedef uint8_t u8_t;
|
||||||
typedef uint16_t u16_t;
|
typedef uint16_t u16_t;
|
||||||
typedef uint32_t u32_t;
|
typedef uint32_t u32_t;
|
||||||
|
typedef int32_t s32_t;
|
||||||
typedef unsigned short uip_stats_t;
|
typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki desktop OS
|
* 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;
|
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.
|
* The statistics data type.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* -*- C -*- */
|
/* -*- 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
|
#ifndef CONTIKI_CONF_H
|
||||||
#define CONTIKI_CONF_H
|
#define CONTIKI_CONF_H
|
||||||
|
@ -71,9 +71,10 @@ void msp430_cpu_init(void); /* Rename to cpu_init() later! */
|
||||||
/* Button sensors. */
|
/* Button sensors. */
|
||||||
#define IRQ_PORT2 0x02
|
#define IRQ_PORT2 0x02
|
||||||
|
|
||||||
typedef unsigned char u8_t;
|
typedef unsigned char u8_t;
|
||||||
typedef unsigned short u16_t;
|
typedef unsigned short u16_t;
|
||||||
typedef unsigned long u32_t;
|
typedef unsigned long u32_t;
|
||||||
|
typedef long s32_t;
|
||||||
typedef unsigned short uip_stats_t;
|
typedef unsigned short uip_stats_t;
|
||||||
typedef unsigned short clock_time_t;
|
typedef unsigned short clock_time_t;
|
||||||
|
|
||||||
|
|
|
@ -116,9 +116,10 @@ typedef unsigned long clock_time_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef unsigned char u8_t;
|
typedef unsigned char u8_t;
|
||||||
typedef unsigned short u16_t;
|
typedef unsigned short u16_t;
|
||||||
typedef unsigned long u32_t;
|
typedef unsigned long u32_t;
|
||||||
|
typedef long s32_t;
|
||||||
typedef unsigned short uip_stats_t;
|
typedef unsigned short uip_stats_t;
|
||||||
|
|
||||||
#define UIP_CONF_MAX_CONNECTIONS 40
|
#define UIP_CONF_MAX_CONNECTIONS 40
|
||||||
|
|
Loading…
Reference in a new issue