This library is intended for STM32 and compatible microcontrollers, but is structured on the top of STM32Cubeide. To make it run with any STM32 microcontroller, it is necessary to make a slight modification to the LORAWAN_Radioenge.h file where you will need to change the include 'STM32L4XX_HAL.H' for the most suitable for the microcontroller you are using, such as: STM32F4XX_HAL.H, STM32L1XX_HAL.H, STM32L0XX_HAL.HE ETC ...
The library itself is a "replica" almost identifies to Arduino (https://github.com/elceza/lowan), but with their respective modifications to meet the STM32 structure.
It is important to consider that the structure of STM32Cubeide works with comments such as:
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
These structures are extreme important for the code assembled within the IDE, as there is a code self -generator within the IDE and if you do not respect this, you may lose the code that has been assembled. If for example you create your '#defines' outside these comments, it is certain that you will lose your code to any self -management update ...
For more information, watch this video: https://youtu.be/jpeg9osdyia