In order to use the Legacy Semtech packet forwarder or your own implementation with KerOS 4.X firmware, Kerlink provides the HAL needed for the compilation of SPF.
libloragw2-5.1.0-klk12.tar.gz
libloragw-5.0.1-klk9.tar.gz