Skip to content
Snippets Groups Projects
Commit ca01c0b8 authored by Joakim Nohlgård's avatar Joakim Nohlgård Committed by GitHub
Browse files

Merge pull request #7751 from SemjonKerner/fix_board_callioperev1

board/calliope: fix board calliope rev1
parents fdc0eabd 8474c524
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
* @defgroup boards_calliope-mini Calliope mini * @defgroup boards_calliope-mini Calliope mini
* @ingroup boards * @ingroup boards
* @brief Board specific files for the Calliope mini * @brief Board specific files for the Calliope mini
*
* This board is for calliope-mini revision 1.0.
* @{ * @{
* *
* @file * @file
...@@ -61,7 +63,7 @@ extern "C" { ...@@ -61,7 +63,7 @@ extern "C" {
*/ */
#define BTN0_PIN GPIO_PIN(0, 17) #define BTN0_PIN GPIO_PIN(0, 17)
#define BTN0_MODE GPIO_IN #define BTN0_MODE GPIO_IN
#define BTN1_PIN GPIO_PIN(0, 26) #define BTN1_PIN GPIO_PIN(0, 16)
#define BTN1_MODE GPIO_IN #define BTN1_MODE GPIO_IN
/** @} */ /** @} */
......
/* /*
* Copyright (C) 2016 Freie Universität Berlin * Copyright (C) 2016-2017 Freie Universität Berlin
* *
* This file is subject to the terms and conditions of the GNU Lesser * 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 * General Public License v2.1. See the file LICENSE in the top level
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* @brief Peripheral configuration for the Calliope mini * @brief Peripheral configuration for the Calliope mini
* *
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
* @author Semjon Kerner <semjon.kerner@fu-berlin.de>
*/ */
#ifndef PERIPH_CONF_H #ifndef PERIPH_CONF_H
...@@ -100,8 +101,8 @@ static const timer_conf_t timer_config[] = { ...@@ -100,8 +101,8 @@ static const timer_conf_t timer_config[] = {
static const i2c_conf_t i2c_config[] = { static const i2c_conf_t i2c_config[] = {
{ {
.dev = NRF_TWI0, .dev = NRF_TWI0,
.pin_scl = 0, .pin_scl = 19,
.pin_sda = 30, .pin_sda = 20,
.ppi = 0 .ppi = 0
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment