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

Merge pull request #6579 from OTAkeys/pr/nucleo144-f207

boards: rename nucleo-f207 -> nucleo144-f207
This commit is contained in:
Alexandre Abadie 2017-02-16 09:42:24 +01:00 committed by GitHub
commit 78c29a0607
8 changed files with 16 additions and 19 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 OTA keys S.A.
* Copyright (C) 2016-2017 OTA keys S.A.
*
* 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
@ -7,11 +7,11 @@
*/
/**
* @ingroup boards_nucleo-f207
* @ingroup boards_nucleo144-f207
* @{
*
* @file
* @brief Board specific implementations for the nucleo-f207 board
* @brief Board specific implementations for the nucleo144-f207 board
*
* @author Vincent Dupont <vincent@otakeys.com>
*

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 OTA keys S.A.
* Copyright (C) 2016-2017 OTA keys S.A.
*
* 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
@ -7,13 +7,13 @@
*/
/**
* @defgroup boards_nucleo-f207 Nucleo-F207
* @defgroup boards_nucleo144-f207 Nucleo144-F207
* @ingroup boards
* @brief Board specific files for the nucleo-f207 board
* @brief Board specific files for the nucleo144-f207 board
* @{
*
* @file
* @brief Board specific definitions for the nucleo-f207 board
* @brief Board specific definitions for the nucleo144-f207 board
*
* @author Vincent Dupont <vincent@otakeys.com
* @author Toon Stegen <toon.stegen@altran.com>
@ -22,8 +22,6 @@
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -32,12 +30,6 @@ extern "C" {
* @brief LED pin definitions and handlers
* @{
*/
#undef LED0_PIN
#undef LED0_MASK
#undef LED0_ON
#undef LED0_OFF
#undef LED0_TOGGLE
#define LED0_PIN GPIO_PIN(PORT_B, 0)
#define LED0_MASK (1 << 0)
#define LED0_ON (GPIOB->BSRR = LED0_MASK)
@ -57,6 +49,11 @@ extern "C" {
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 OTA keys S.A.
* Copyright (C) 2016-2017 OTA keys S.A.
*
* 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
@ -7,11 +7,11 @@
*/
/**
* @ingroup boards_nucleo-f207
* @ingroup boards_nucleo144-f207
* @{
*
* @file
* @name Peripheral MCU configuration for the nucleo-f207 board
* @name Peripheral MCU configuration for the nucleo144-f207 board
*
* @author Vincent Dupont <vincent@otakeys.com>
* @author Aurelien Gonce <aurelien.gonce@altran.fr>
@ -254,7 +254,7 @@ static const spi_conf_t spi_config[] = {
* @{
*/
#define ADC_CONFIG { \
{GPIO_PIN(PORT_A, 4), 0, 0}, \
{GPIO_PIN(PORT_A, 3), 0, 3}, \
{GPIO_PIN(PORT_C, 0), 1, 0} \
}
#define ADC_NUMOF (2)