Unify Framework Lib 1.6.0
contiki-conf.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2005, Swedish Institute of Computer Science
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of the Institute nor the names of its contributors
14 * may be used to endorse or promote products derived from this software
15 * without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * This file is part of the Contiki operating system.
30 *
31 * @(#)$Id: contiki-conf.h,v 1.12 2009/09/09 21:11:24 adamdunkels Exp $
32 */
33
34#ifndef __CONTIKI_CONF_H__
35#define __CONTIKI_CONF_H__
36
37#include <inttypes.h>
38
39#define CC_CONF_REGISTER_ARGS 1
40#define CC_CONF_FUNCTION_POINTER_ARGS 1
41#define CC_CONF_FASTCALL
42#define CC_CONF_VA_ARGS 1
43#define CC_CONF_NO_VA_ARGS (!CC_CONF_VA_ARGS) // Stating the obvious because cc.h checks this first
44#define CC_CONF_ALIGN_PACK 1
45/*#define CC_CONF_INLINE inline*/
46#define CC_CONF_REENTRANT_ARGS 0
47#define CC_CONF_UNSIGNED_CHAR_BUGS 0
48#define CC_CONF_DOUBLE_HASH 0
49
50
51#define CCIF
52#define CLIF
53
54typedef uint8_t u8_t;
55typedef uint16_t u16_t;
56typedef uint32_t u32_t;
57typedef int32_t s32_t;
58typedef unsigned long clock_time_t;
59
60#define CLOCK_CONF_SECOND 1000
61
62#define LOG_CONF_ENABLED 1
63
64#define PROCESS_CONF_NO_PROCESS_NAMES 0
65
66#ifdef PROJECT_CONF_H
67#include PROJECT_CONF_H
68#endif /* PROJECT_CONF_H */
69
70#endif /* __CONTIKI_CONF_H__ */
int32_t s32_t
Definition: contiki-conf.h:30
uint32_t u32_t
Definition: contiki-conf.h:29
uint8_t u8_t
Definition: contiki-conf.h:27
uint32_t clock_time_t
Definition: contiki-conf.h:31
uint16_t u16_t
Definition: contiki-conf.h:28