mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
3989945679
This PR converts tabs to white spaces. The statement I used for the conversion: ```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;``` Afterwards, I had a quick overview of the converted files to prevent odd indentation.
69 lines
1.4 KiB
C
69 lines
1.4 KiB
C
/*
|
|
* cpu.h - mc1322x specific definitions
|
|
* Copyright (C) 2013 Oliver Hahm <oliver.hahm@inria.fr>
|
|
*
|
|
* This source code is licensed under the GNU Lesser General Public License,
|
|
* Version 2. See the file LICENSE for more details.
|
|
*
|
|
* This file is part of RIOT
|
|
*/
|
|
|
|
#ifndef CPUCONF_H_
|
|
#define CPUCONF_H_
|
|
|
|
/**
|
|
* @ingroup conf
|
|
* @ingroup mc1322x
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief MC1322X CPUconfiguration
|
|
*
|
|
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
|
*/
|
|
|
|
/**
|
|
* @name Stdlib configuration
|
|
* @{
|
|
*/
|
|
#define __FOPEN_MAX__ 4
|
|
#define __FILENAME_MAX__ 12
|
|
/** @} */
|
|
|
|
/**
|
|
* @name Kernel configuration
|
|
* @{
|
|
*/
|
|
#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (4096)
|
|
#define KERNEL_CONF_STACKSIZE_PRINTF (2048)
|
|
|
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
|
#endif
|
|
|
|
#define KERNEL_CONF_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))
|
|
/** @} */
|
|
|
|
#define TRANSCEIVER_BUFFER_SIZE (10)
|
|
#define RX_BUF_SIZE (10)
|
|
|
|
#ifndef UART0_BUFSIZE
|
|
#define UART0_BUFSIZE (64)
|
|
#endif
|
|
|
|
/** @} */
|
|
#endif /* CPUCONF_H_ */
|