1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/avsextrem/include/board.h

67 lines
1.5 KiB
C
Raw Normal View History

2013-08-19 16:17:58 +02:00
/*
* board.h - Definitions for the AVSEXTREM board configuration.
2013-09-19 16:53:35 +02:00
* Copyright (C) 2013 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
2013-08-19 16:17:58 +02:00
*
* This source code is licensed under the LGPLv2 license,
* See the file LICENSE for more details.
*
*/
/**
* @file
2013-08-19 16:17:58 +02:00
* @brief avsextrem board configuration
*
2013-09-19 16:53:35 +02:00
* @author Freie Universität Berlin, Computer Systems & Telematics
* @author Heiko Will
2013-08-19 16:17:58 +02:00
* @author Zakaria Kasmi
* @version $Revision: 1127 $
*
2013-09-19 16:53:35 +02:00
* @note $Id: board-conf.h 1127 2013-06-13 08:48:29Z kasmi$
*/
#ifndef BOARDCONF_H_
#define BOARDCONF_H_
#include <bitarithm.h>
#include "msba2_common.h"
2013-09-19 16:53:35 +02:00
#define FEUERWARE_CONF_BOARD_NAME "FU Berlin AVSEXTREM BOARD"
#define LED_RED_PIN (BIT25)
#define LED_GREEN_PIN (BIT26)
#define LED_GREEN_OFF (FIO3SET = LED_GREEN_PIN)
#define LED_GREEN_ON (FIO3CLR = LED_GREEN_PIN)
#define LED_GREEN_TOGGLE (FIO3PIN ^= LED_GREEN_PIN)
#define LED_RED_OFF (FIO3SET = LED_RED_PIN)
#define LED_RED_ON (FIO3CLR = LED_RED_PIN)
#define LED_RED_TOGGLE (FIO3PIN ^= LED_RED_PIN)
#ifdef MODULE_CC110X
2013-09-19 16:53:35 +02:00
#define FEUERWARE_CONF_NUM_RADIOS 1
#else
2013-09-19 16:53:35 +02:00
#define FEUERWARE_CONF_NUM_RADIOS 0
#endif
// if FAT is enabled this board supports files
2013-09-19 16:53:35 +02:00
#define FEUERWARE_CONF_CORE_SUPPORTS_FILES defined(MODULE_FAT)
2013-08-19 16:17:58 +02:00
#ifdef MODULE_FAT
2013-09-19 16:53:35 +02:00
#define CFG_CONF_MEM_SIZE 0x7FFFFFFF
#define SYSLOG_CONF_NUM_INTERFACES 2
#else
2013-09-19 16:53:35 +02:00
#define SYSLOG_CONF_NUM_INTERFACES 1
#endif
void init_clks1(void);
2013-10-20 17:54:31 +02:00
typedef uint8_t radio_packet_length_t;
/** @} */
#endif /* BOARDCONF_H_ */