2013-03-06 10:29:49 +01:00
|
|
|
/**
|
|
|
|
* Native CPU configuration
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Ludwig Ortmann
|
|
|
|
*
|
|
|
|
* This file subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file LICENSE in the top level directory for more details.
|
|
|
|
*
|
|
|
|
* @ingroup arch
|
|
|
|
* @{
|
|
|
|
* @file
|
|
|
|
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
|
|
* @}
|
|
|
|
*/
|
2013-03-06 01:08:15 +01:00
|
|
|
#ifndef CPUCONF_H_
|
|
|
|
#define CPUCONF_H_
|
|
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
/* TODO: choose more sensibly? */
|
2013-05-15 17:45:43 +02:00
|
|
|
#ifdef __MACH__
|
|
|
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (163840)
|
|
|
|
#define KERNEL_CONF_STACKSIZE_IDLE (163840)
|
|
|
|
#define NATIVE_ISR_STACKSIZE (163840)
|
|
|
|
#define TRANSCEIVER_STACK_SIZE (163840)
|
|
|
|
#define MINIMUM_STACK_SIZE (163840)
|
|
|
|
#else
|
2013-04-15 20:08:46 +02:00
|
|
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (16384)
|
2013-05-14 18:31:47 +02:00
|
|
|
#define KERNEL_CONF_STACKSIZE_IDLE (16384)
|
2013-04-15 20:08:46 +02:00
|
|
|
#define NATIVE_ISR_STACKSIZE (16384)
|
|
|
|
#define TRANSCEIVER_STACK_SIZE (16384)
|
2013-05-15 10:46:09 +02:00
|
|
|
#define MINIMUM_STACK_SIZE (16384)
|
2013-05-15 17:45:43 +02:00
|
|
|
#endif
|
2013-03-06 01:08:15 +01:00
|
|
|
|
2013-03-21 17:08:41 +01:00
|
|
|
/* for cc110x_ng */
|
|
|
|
#define RX_BUF_SIZE (10)
|
|
|
|
#define TRANSCEIVER_BUFFER_SIZE (3)
|
|
|
|
|
2013-03-06 01:08:15 +01:00
|
|
|
#endif /* CPUCONF_H_ */
|