From 4e0c95c5f235ad2888c0bd8d51f87b6c03dc577d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 24 Sep 2017 19:09:04 +0200 Subject: [PATCH] boards/lorawan-explorer: add rn2483 configuration --- boards/sodaq-explorer/include/board.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/boards/sodaq-explorer/include/board.h b/boards/sodaq-explorer/include/board.h index 4f623d039e39b..ca386015850c9 100644 --- a/boards/sodaq-explorer/include/board.h +++ b/boards/sodaq-explorer/include/board.h @@ -55,6 +55,24 @@ extern "C" { #define BTN0_MODE GPIO_IN_PU /** @} */ +/** + * @name RN2483 configuration + * @{ + */ +#define LORAMAC_DEV_EUI { 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00 } +#define LORAMAC_APP_EUI { 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00 } +#define LORAMAC_APP_KEY { 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00 } +#define LORAMAC_DEV_ADDR { 0x00, 0x00, 0x00, 0x00 } +#define RN2XX3_PARAM_UART (UART_DEV(2)) +#define RN2XX3_PARAM_BAUDRATE (57600U) +#define RN2XX3_PARAM_PIN_RESET (GPIO_PIN(PA, 7)) +/** @} */ + /** * @brief Initialize board specific hardware, including clock, LEDs and std-IO */