Also check BSP and library versions. Use ArduinoI DE’s Board Manager and Library Manager to check.
Board Support Package : STM32 MCU based boards by STMicroelectronics 2.7.1 or 2.8.1
library : RadioLib by Jan Gromes 6.6.0
- What is the exact model number or link to the module you are using?
- Please post all lines of the error message as a text file </> or attach a ZIP file.
- What sketch are you compiling?
- Do you have SX126x in the following locations on your PC?
/Documents/arduino/libraries/radiolib/src/module/SX126x