2023-03-28 13:32:56 +00:00
|
|
|
#define HAS_GPS 0
|
|
|
|
#undef GPS_RX_PIN
|
|
|
|
#undef GPS_TX_PIN
|
|
|
|
|
|
|
|
//#define HAS_SCREEN 0
|
|
|
|
//#define HAS_SDCARD
|
|
|
|
//#define SDCARD_USE_SPI1
|
|
|
|
|
|
|
|
//#define USE_SSD1306
|
|
|
|
|
2023-03-29 11:07:27 +00:00
|
|
|
#define I2C_SDA 18 // 1 // I2C pins for this board
|
|
|
|
#define I2C_SCL 17 // 2
|
2023-03-28 13:32:56 +00:00
|
|
|
|
|
|
|
//#define LED_PIN 38 // This is a RGB LED not a standard LED
|
|
|
|
|
2023-03-29 11:07:27 +00:00
|
|
|
#define BUTTON_PIN 0 // This is the BOOT button
|
2023-03-28 13:32:56 +00:00
|
|
|
#define BUTTON_NEED_PULLUP
|
|
|
|
|
|
|
|
//#define USE_RF95 // RFM95/SX127x
|
|
|
|
//#define USE_SX1262
|
|
|
|
#define USE_SX1280
|
|
|
|
|
2023-03-29 11:07:27 +00:00
|
|
|
#define RF95_MISO 3
|
|
|
|
#define RF95_SCK 5
|
|
|
|
#define RF95_MOSI 6
|
|
|
|
#define RF95_NSS 7
|
2023-03-28 13:32:56 +00:00
|
|
|
|
|
|
|
#define LORA_RESET 8
|
|
|
|
#define LORA_DIO1 16
|
|
|
|
|
|
|
|
#ifdef USE_SX1262
|
|
|
|
#define SX126X_CS RF95_NSS // FIXME - we really should define LORA_CS instead
|
|
|
|
#define SX126X_DIO1 LORA_DIO1
|
|
|
|
#define SX126X_BUSY 15
|
|
|
|
#define SX126X_RESET LORA_RESET
|
|
|
|
#define SX126X_RXEN 4
|
|
|
|
#define SX126X_TXEN 9
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_SX1280
|
|
|
|
#define SX128X_CS RF95_NSS
|
|
|
|
#define SX128X_DIO1 LORA_DIO1
|
|
|
|
#define SX128X_BUSY 15
|
|
|
|
#define SX128X_RESET LORA_RESET
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define USE_EINK
|
2023-03-29 11:07:27 +00:00
|
|
|
/*
|
2023-03-28 13:32:56 +00:00
|
|
|
* eink display pins
|
|
|
|
*/
|
2023-03-29 11:07:27 +00:00
|
|
|
#define PIN_EINK_CS 13
|
|
|
|
#define PIN_EINK_BUSY 2
|
|
|
|
#define PIN_EINK_DC 1
|
|
|
|
#define PIN_EINK_RES (-1)
|
|
|
|
#define PIN_EINK_SCLK 5
|
|
|
|
#define PIN_EINK_MOSI 6
|