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