2017-05-12 16:01:19 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 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
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2019-07-06 14:10:01 +02:00
|
|
|
* @ingroup boards_stm32f769i-disco
|
2017-05-12 16:01:19 +02:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2018-03-07 17:11:10 +01:00
|
|
|
* @brief Board specific definitions for the STM32F769I-DISCO board
|
2017-05-12 16:01:19 +02:00
|
|
|
*
|
|
|
|
* @author Vincent Dupont <vincent@otakeys.com>
|
2017-06-20 21:11:34 +02:00
|
|
|
* @author Sebastian Meiling <s@mlng.net>
|
2017-05-12 16:01:19 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H
|
|
|
|
#define BOARD_H
|
|
|
|
|
|
|
|
#include "cpu.h"
|
|
|
|
#include "periph_conf.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Macros for controlling the on-board LEDs.
|
|
|
|
* @{
|
|
|
|
*/
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED0_PIN_NUM 13
|
|
|
|
#define LED0_PORT_NUM PORT_J
|
2017-05-12 16:01:19 +02:00
|
|
|
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED1_PIN_NUM 5
|
|
|
|
#define LED1_PORT_NUM PORT_J
|
2017-05-12 16:01:19 +02:00
|
|
|
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED2_PIN_NUM 12
|
|
|
|
#define LED2_PORT_NUM PORT_A
|
2017-05-12 16:01:19 +02:00
|
|
|
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED3_PIN_NUM 4
|
|
|
|
#define LED3_PORT_NUM PORT_D
|
2017-05-12 16:01:19 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
2018-04-16 14:46:43 +02:00
|
|
|
* @name User button
|
2017-06-20 21:11:34 +02:00
|
|
|
* @{
|
2017-05-12 16:01:19 +02:00
|
|
|
*/
|
2017-06-20 21:11:34 +02:00
|
|
|
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
|
|
|
|
#define BTN0_MODE GPIO_IN
|
|
|
|
/** @} */
|
|
|
|
|
2017-05-12 16:01:19 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-08-08 09:55:20 +02:00
|
|
|
#include "stm32_leds.h"
|
|
|
|
|
2017-05-12 16:01:19 +02:00
|
|
|
#endif /* BOARD_H */
|
|
|
|
/** @} */
|