Skip to content

Commit

Permalink
boards/lorawan-explorer: add rn2483 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Dec 14, 2017
1 parent cafe128 commit 4e0c95c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions boards/sodaq-explorer/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 4e0c95c

Please sign in to comment.