2010-09-22 15:10:42 +02:00
|
|
|
/******************************************************************************
|
2013-06-18 17:21:38 +02:00
|
|
|
Copyright (C) 2013, Freie Universitaet Berlin (FUB). All rights reserved.
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
These sources were developed at the Freie Universitaet Berlin, Computer Systems
|
|
|
|
and Telematics group (http://cst.mi.fu-berlin.de).
|
|
|
|
-------------------------------------------------------------------------------
|
2013-03-07 20:51:26 +01:00
|
|
|
This file is part of RIOT.
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-11-23 13:43:47 +01:00
|
|
|
This file is subject to the terms and conditions of the LGPLv2.
|
|
|
|
See the file LICENSE in the top level directory for more details.
|
2010-09-22 15:10:42 +02:00
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef CPUCONF_H_
|
|
|
|
#define CPUCONF_H_
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup conf
|
|
|
|
* @ingroup lpc2387
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief LPC2387 CPUconfiguration
|
|
|
|
*
|
2013-03-08 11:30:23 +01:00
|
|
|
* @author Freie Universität Berlin, Computer Systems & Telematics
|
2010-09-22 15:10:42 +02:00
|
|
|
* @author baar
|
|
|
|
* @version $Revision$
|
|
|
|
*
|
|
|
|
* @note $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define FEUERWARE_CONF_CPU_NAME "NXP LPC2387"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name CPU capabilities
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define FEUERWARE_CPU_LPC2387 1
|
|
|
|
#define FEUERWARE_CONF_CORE_SUPPORTS_TIME 1
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Stdlib configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define __FOPEN_MAX__ 4
|
|
|
|
#define __FILENAME_MAX__ 12
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Kernel configuration
|
|
|
|
* @{
|
|
|
|
*/
|
2013-07-23 13:42:58 +02:00
|
|
|
#define KERNEL_CONF_STACKSIZE_PRINTF (4096)
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
2013-08-14 18:04:25 +02:00
|
|
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
2010-09-22 15:10:42 +02:00
|
|
|
#endif
|
|
|
|
|
2013-09-25 15:51:11 +02:00
|
|
|
#define KERNEL_CONF_STACKSIZE_IDLE (160)
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @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))
|
|
|
|
/** @} */
|
|
|
|
|
2010-12-03 18:42:03 +01:00
|
|
|
#define TRANSCEIVER_BUFFER_SIZE (10)
|
|
|
|
#define RX_BUF_SIZE (10)
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/** @} */
|
|
|
|
#endif /* CPUCONF_H_ */
|