Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp
Dependencies: mbed LoRaWAN-lib SX1276Lib
Diff: board/board.h
- Revision:
- 1:352f608c3337
- Parent:
- 0:92bca02df485
- Child:
- 3:9c6f7f082151
--- a/board/board.h Tue Oct 20 13:23:35 2015 +0000 +++ b/board/board.h Thu Nov 26 12:59:52 2015 +0000 @@ -16,9 +16,14 @@ #define __BOARD_H__ #include "mbed.h" -#include "timer.h" +#include "system/timer.h" #include "debug.h" -#include "utilities.h" +#include "system/utilities.h" +#include "sx1276-hal.h" + +#define USE_BAND_915_HYBRID + +extern SX1276MB1xAS Radio; /*! * \brief Initializes the target board peripherals. @@ -30,7 +35,7 @@ * * \retval value battery level ( 0: very low, 254: fully charged ) */ -uint8_t BoardGetBatterieLevel( void ); +uint8_t BoardGetBatteryLevel( void ); #endif // __BOARD_H__