if you’ve installed the ESP32 package in arduino, you just can take the tt-abp, with an RFM95 attached to it
tested with ESP32-DOIT , board: ESP32 Dev Module choosen
/* for ESP32
static const uint8_t SS = 5;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;
*/
// Pin mapping
const lmic_pinmap lmic_pins = {
.nss = 5, //
.rxtx = LMIC_UNUSED_PIN,
.rst = 13, //
.dio = {12, 14, 27}, // {DIO0, DIO1, DIO2}, DIO2 could be eliminated
};```