This driver is a stripped down version of the Radiohead 1.45 driver, and covers fewer radios. Threading and an event queue have been added to make the ISR's more stable across architectures. Specifically The STM32L4 parts

Dependents:   Threaded_LoRa_Modem

Revision:
2:403a13ad43e6
Parent:
1:dfeb5e8b199a
Child:
3:6ffa8c82a713
--- a/RHHardwareSPI.cpp	Fri Apr 30 15:16:24 2021 +0000
+++ b/RHHardwareSPI.cpp	Sat May 29 19:02:55 2021 +0000
@@ -19,8 +19,7 @@
 HardwareSPI _SPI(1);
 #elif (RH_PLATFORM == RH_PLATFORM_MBED) // MBed
 // grab config from mbed_app.json
-#include "board.h" // This is a hack, and needs to be picked up in a mbed_lib.json file
-SPI _SPI(nvm_mosi, nvm_miso, nvm_sclk);
+SPI _SPI(RADIO_MOSI, RADIO_MISO, RADIO_SCLK);
 
 #define REVERSE_BITS(byte) (((reverse_lookup[(byte & 0x0F)]) << 4) + reverse_lookup[((byte & 0xF0) >> 4)])