This is a copy of the repository LoRa_STM32 from Dragino. The repository contains the sources to build a sample LoRa application for their LSN50 and LSN50-v2.
The code itself is unmodified, whereas I have added project defintions and settings to build with STM32CubeIDE.
I have tested this with the LSN50-v2 and STM32CubeIDE 1.8.
In order to import the project, open STM32CubeIDE, then select File -> Open Projects from File System and adjust the path for "Import Source" to the repo directory.
-- Christophe