Blame view

RIOT/cpu/lpc2387/include/cpu_conf.h 1.28 KB
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  /*
   * Copyright (C) 2013, Freie Universitaet Berlin (FUB). All rights reserved.
   *
   * This file is subject to the terms and conditions of the GNU Lesser
   * General Public License v2.1. See the file LICENSE in the top level
   * directory for more details.
   */
  
  
  #ifndef CPU_CONF_H
  #define CPU_CONF_H
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /**
   * @ingroup     conf
   * @ingroup     lpc2387
   *
   * @{
   */
  
  /**
   * @file
   * @brief       LPC2387 CPUconfiguration
   *
   * @author      baar
   * @version     $Revision$
   *
   * @note        $Id$
   */
  
  /**
   * @name Stdlib configuration
   * @{
   */
  #define __FOPEN_MAX__       4
  #define __FILENAME_MAX__    12
  /** @} */
  
  /**
   * @name Kernel configuration
   * @{
   */
  #define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT  (4096)
  #define THREAD_EXTRA_STACKSIZE_PRINTF        (2048)
  
  #ifndef THREAD_STACKSIZE_DEFAULT
  #define THREAD_STACKSIZE_DEFAULT   (512)
  #endif
  
  #define THREAD_STACKSIZE_IDLE      (160)
  /** @} */
  
  /**
   * @name Compiler specifics
   * @{
   */
  #define CC_CONF_INLINE                  inline
  #define CC_CONF_USED                    __attribute__((used))
  #define CC_CONF_NONNULL(...)            __attribute__((nonnull(__VA_ARGS__)))
  #define CC_CONF_WARN_UNUSED_RESULT      __attribute__((warn_unused_result))
  /** @} */
  
  #ifdef __cplusplus
  }
  #endif
  
  /** @} */
  #endif /* CPU_CONF_H */