2014-08-27 18:47:31 +02:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef CPU_CONF_H
|
|
|
|
#define CPU_CONF_H
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/**
|
2018-06-01 12:25:00 +02:00
|
|
|
* @ingroup cpu_lpc2387
|
2010-09-22 15:10:42 +02:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
2014-07-31 20:46:28 +02:00
|
|
|
* @brief LPC2387 CPUconfiguration
|
2010-09-22 15:10:42 +02:00
|
|
|
*
|
2014-07-31 20:46:28 +02:00
|
|
|
* @author baar
|
2010-09-22 15:10:42 +02:00
|
|
|
* @version $Revision$
|
|
|
|
*
|
2014-07-31 20:46:28 +02:00
|
|
|
* @note $Id$
|
2010-09-22 15:10:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Stdlib configuration
|
|
|
|
* @{
|
|
|
|
*/
|
2014-07-31 20:46:28 +02:00
|
|
|
#define __FOPEN_MAX__ 4
|
|
|
|
#define __FILENAME_MAX__ 12
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Kernel configuration
|
|
|
|
* @{
|
|
|
|
*/
|
2015-04-28 20:02:05 +02:00
|
|
|
#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (4096)
|
|
|
|
#define THREAD_EXTRA_STACKSIZE_PRINTF (2048)
|
2013-07-23 13:42:58 +02:00
|
|
|
|
2015-04-28 20:02:05 +02:00
|
|
|
#ifndef THREAD_STACKSIZE_DEFAULT
|
|
|
|
#define THREAD_STACKSIZE_DEFAULT (512)
|
2010-09-22 15:10:42 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-28 20:02:05 +02:00
|
|
|
#define THREAD_STACKSIZE_IDLE (160)
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Compiler specifics
|
|
|
|
* @{
|
|
|
|
*/
|
2014-07-31 20:46:28 +02:00
|
|
|
#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))
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2013-12-19 16:48:31 +01:00
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* CPU_CONF_H */
|