mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
89 lines
2.4 KiB
C
89 lines
2.4 KiB
C
/******************************************************************************
|
|
Copyright 2009, Freie Universitaet Berlin (FUB). All rights reserved.
|
|
|
|
These sources were developed at the Freie Universitaet Berlin, Computer Systems
|
|
and Telematics group (http://cst.mi.fu-berlin.de).
|
|
-------------------------------------------------------------------------------
|
|
This file is part of FeuerWare.
|
|
|
|
This program is free software: you can redistribute it and/or modify it under
|
|
the terms of the GNU General Public License as published by the Free Software
|
|
Foundation, either version 3 of the License, or (at your option) any later
|
|
version.
|
|
|
|
FeuerWare is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along with
|
|
this program. If not, see http://www.gnu.org/licenses/ .
|
|
--------------------------------------------------------------------------------
|
|
For further information and questions please use the web site
|
|
http://scatterweb.mi.fu-berlin.de
|
|
and the mailinglist (subscription via web site)
|
|
scatterweb@lists.spline.inf.fu-berlin.de
|
|
*******************************************************************************/
|
|
|
|
#ifndef CPUCONF_H_
|
|
#define CPUCONF_H_
|
|
|
|
/**
|
|
* @ingroup conf
|
|
* @ingroup lpc2387
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief LPC2387 CPUconfiguration
|
|
*
|
|
* @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project
|
|
* @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
|
|
* @{
|
|
*/
|
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
|
#define KERNEL_CONF_STACKSIZE_DEFAULT 4500
|
|
#endif
|
|
|
|
#define KERNEL_CONF_STACKSIZE_IDLE 500
|
|
/** @} */
|
|
|
|
/**
|
|
* @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))
|
|
/** @} */
|
|
|
|
/** @} */
|
|
#endif /* CPUCONF_H_ */
|