/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @defgroup boards_nucleo-l1 Nucleo-L1 * @ingroup boards * @brief Board specific files for the nucleo-l1 board. * @{ * * @file * @brief Board specific definitions for the nucleo-l1 board. * * @author Thomas Eichinger */ #ifndef BOARD_H_ #define BOARD_H_ #include #include "cpu.h" #include "periph_conf.h" #ifdef __cplusplus extern "C" { #endif /** * @name xtimer configuration * @{ */ #define XTIMER TIMER_DEV(0) #define XTIMER_CHAN (0) #define XTIMER_OVERHEAD (6) #define XTIMER_BACKOFF (3) /** @} */ /** * @name LED pin definitions * @{ */ #define LED_GREEN_PORT (GPIOA) #define LED_GREEN_PIN (5) /** @} */ /** * @name Macros for controlling the on-board LEDs. * @{ */ #define LED_RED_ON #define LED_RED_OFF #define LED_RED_TOGGLE #define LED_GREEN_ON (LED_GREEN_PORT->ODR &= ~(1<ODR |= (1<ODR ^= (1<