434 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & DFROBOT_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
435 #define USE_SX1276
436 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
437 #define PIN_RECEIVER_CS 27 // D4
438 #define PIN_RECEIVER_IRQ 26 // D3
439 #define PIN_RECEIVER_GPIO 9 // D5
440 #define PIN_RECEIVER_RST 25 // D2
441
442 #elif defined(LORAWAN_NODE)
443 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
444 #define USE_SX1276
445
446// Use pinning for LoRaWAN_Node (https://github.com/matthias-bs/LoRaWAN_Node)
447 #define PIN_RECEIVER_CS 14
448 #define PIN_RECEIVER_IRQ 4
449 #define PIN_RECEIVER_GPIO 16
450 #define PIN_RECEIVER_RST 12
451
452 #else
453 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 defined; if you use one of those boards, select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
454
455 #endif
456#elif defined(ESP32)
457 #pragma message("ESP32 defined; this is a generic (i.e. non-specific) target")
458 #pragma message("Cross check if the selected GPIO pins are really available on your board.")
459 #pragma message("Connect a radio module with a supported chip.")
460 #pragma message("Select the chip by setting the appropriate define.")
461 #define USE_SX1276
462//#define USE_SX1262
463//#define USE_CC1101
464//#define USE_LR1121
465// Generic pinning for ESP32 development boards
466 #define PIN_RECEIVER_CS 27
467 #define PIN_RECEIVER_IRQ 21
468 #define PIN_RECEIVER_GPIO 33
469 #define PIN_RECEIVER_RST 32
470
471// When using SPI bus other than FSPI, e.g. HSPI, define the following
472//#define LORA_SPI_BUS HSPI
473//#define LORA_CS 48
474//#define LORA_SCK 45
475//#define LORA_MISO 46
476//#define LORA_MOSI 47
477#elif defined(ESP8266)
478 #pragma message("ESP8266 defined; this is a generic (i.e. non-specific) target")
479 #pragma message("Cross check if the selected GPIO pins are really available on your board.")
480 #pragma message("Connect a radio module with a supported chip.")
481 #pragma message("Select the chip by setting the appropriate define.")
482//#define USE_SX1276
483//#define USE_SX1262
484 #define USE_CC1101
485//#define USE_LR1121
486
487// Generic pinning for ESP8266 development boards (e.g. LOLIN/WEMOS D1 mini)