2018-10-21 19:00:20 +02:00
|
|
|
#ifndef _EBOX_H
|
|
|
|
#define _EBOX_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-08-04 18:58:20 +02:00
|
|
|
// Hardware related definitions for ebox ESP32-bit with external connected RFM95 LoRa
|
2018-07-28 01:46:43 +02:00
|
|
|
|
2018-08-11 19:12:04 +02:00
|
|
|
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
|
|
|
|
#define HAS_SPI 1 // comment out if device shall not send data via SPI
|
2018-07-28 01:46:43 +02:00
|
|
|
#define CFG_sx1276_radio 1
|
|
|
|
|
2018-10-21 19:00:20 +02:00
|
|
|
#define HAS_LED (23) // blue LED on board
|
|
|
|
#define HAS_BUTTON (0) // button "PROG" on board
|
2018-08-05 23:07:13 +02:00
|
|
|
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
2018-07-28 01:46:43 +02:00
|
|
|
|
2018-10-21 19:00:20 +02:00
|
|
|
// Pins for LORA chip reset and interrupt lines
|
|
|
|
#define RST (14)
|
|
|
|
#define DIO0 (26)
|
|
|
|
#define DIO1 (33)
|
|
|
|
#define DIO2 LMIC_UNUSED_PIN
|
2018-07-28 01:46:43 +02:00
|
|
|
|
2018-10-21 19:00:20 +02:00
|
|
|
#endif
|