1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/i-nucleo-lrwan1/include/board.h
2022-02-25 15:08:58 +01:00

56 lines
1.2 KiB
C

/*
* Copyright (C) 2019 Inria
*
* 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.
*/
/**
* @ingroup boards_i-nucleo-lrwan1
* @{
*
* @file
* @brief Board specific definitions for the ST I-NUCLEO-LRWAN1 board
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "cpu.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
/** @} */
/**
* @name SX1272 configuration
* @{
**/
#define SX127X_PARAM_SPI_NSS GPIO_PIN(PORT_A, 15)
#define SX127X_PARAM_RESET GPIO_PIN(PORT_A, 9)
#define SX127X_PARAM_DIO0 GPIO_PIN(PORT_A, 2)
#define SX127X_PARAM_DIO1 GPIO_PIN(PORT_A, 3)
#define SX127X_PARAM_DIO2 GPIO_PIN(PORT_A, 5)
#define SX127X_PARAM_DIO3 GPIO_PIN(PORT_A, 6)
#define SX127X_PARAM_PASELECT (SX127X_PA_BOOST)
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* BOARD_H */
/** @} */