I compile the example from the https://github.com/sandeepmistry/arduino-LoRa library witch Teensy LC and works. After changing the plate to Teensy 3.5 I got errors. Can anyone check what is wrong? :
//codebegin
/*
LoRa register dump
This examples shows how to inspect and output the LoRa radio's
registers on the Serial interface
*/
#include <SPI.h> // include libraries
#include <LoRa.h>

void setup() {
Serial.begin(9600); // initialize serial
while (!Serial);

Serial.println("LoRa Dump Registers");

// override the default CS, reset, and IRQ pins (optional)
// LoRa.setPins(10, 7, 8); // set CS, reset, IRQ pin

if (!LoRa.begin(915E6)) { // initialize ratio at 915 MHz
Serial.println("LoRa init failed. Check your connections.");
while (true); // if failed, do nothing
}

LoRa.dumpRegisters(Serial);
}


void loop() {
}
//end code
error when compile :

Arduino:1.8.5 (Windows 10), TD: 1.42, Płytka:"Teensy 3.5, Serial, 120 MHz, Faster, US English"

C:\Users\rey\Documents\Arduino\libraries\LoRa\src\ LoRa.cpp: In member function 'void LoRaClass:nReceive(void (*)(int))':

C:\Users\rey\Documents\Arduino\libraries\LoRa\src\ LoRa.cpp:333:55: error: invalid conversion from 'int' to 'IRQ_NUMBER_t' [-fpermissive]

SPI.notUsingInterrupt(digitalPinToInterrupt(_dio0) );

^

In file included from C:\Users\rey\Documents\Arduino\libraries\LoRa\src/LoRa.h:8:0,

from C:\Users\rey\Documents\Arduino\libraries\LoRa\src\ LoRa.cpp:4:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI/SPI.h:483:7: note: initializing argument 1 of 'void SPIClass::notUsingInterrupt(IRQ_NUMBER_t)'

void notUsingInterrupt(IRQ_NUMBER_t interruptName);

^

C:\Users\rey\Documents\Arduino\libraries\LoRa\src\ LoRa.cpp: In member function 'long int LoRaClass::getSignalBandwidth()':

C:\Users\rey\Documents\Arduino\libraries\LoRa\src\ LoRa.cpp:436:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^
--
regard Rafal