mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
41 lines
651 B
C
41 lines
651 B
C
/*
|
|
* SPDX-FileCopyrightText: 2018 Gunar Schorcht
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @ingroup boards_esp32s2_devkit
|
|
* @brief Board specific configuration of direct mapped GPIOs
|
|
* @file
|
|
* @author Gunar Schorcht <gunar@schorcht.net>
|
|
* @{
|
|
*/
|
|
|
|
#include "board.h"
|
|
#include "saul/periph.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief LED and Button configuration
|
|
*/
|
|
static const saul_gpio_params_t saul_gpio_params[] =
|
|
{
|
|
{
|
|
.name = "BOOT",
|
|
.pin = BTN0_PIN,
|
|
.mode = BTN0_MODE,
|
|
.flags = SAUL_GPIO_INVERTED
|
|
},
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|