Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
602 stars 168 forks source link

Compilation Error XPowersLib #89

Closed scytherlein closed 1 year ago

scytherlein commented 1 year ago

Hi

when compilating many of your examples I receive the following error when compiling with Arduino IDE 2.x.

Cant't really find the problem, setting variable manual helps but maybe its a general problem:

`In file included from C:\Users*\Documents\Arduino\LilyGo-LoRa-Series-master\examples\GPS\TinyGPS_Example\boards.h:26, from C:\Users*\Documents\Arduino\LilyGo-LoRa-Series-master\examples\GPS\TinyGPS_Example\TinyGPS_Example.ino:7: c:\Users***\Documents\Arduino\libraries\XPowersLib\src/XPowersLib.h:25:2: error: #error "Please define power management chip model"

error "Please define power management chip model"

^~~~~

exit status 1

Compilation error: exit status 1`

Board is SX1262 and utilities.h was edited as mentinoed in manual

Best regrads

scytherlein

scytherlein commented 1 year ago

Could solve it on my own.

XPowersLib update is causing the issue.