Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By Justblair
#13691 Tried the Adafruit BMP085 Library and I am unable to compile...

C:\Users\<USERNAME>\AppData\Local\Temp\build715613174620107804.tmp\Adafruit_BMP085_U\Adafruit_BMP085_U.cpp.o: In function `Adafruit_BMP085_Unified::Adafruit_BMP085_Unified(int)':
Adafruit_BMP085_U.cpp:(.text+0xd4): undefined reference to `pow'

I can compile with the pow function in the Arduino IDE
User avatar
By penatenjoe
#14007
alonewolfx2 wrote:thank you for your response. did you tried reciever?

Yes I did. The code compiles and seems to work but the received signal has many errors - as already stated earlier. Could be either due to timing issues (interrupts?) or RF interference. For the test I used a XY-MK-5V with 5V supply and level shifter.
User avatar
By Bozz
#14562 penatenjoe nice to hear the library seems to work.
did you make any modifications to it.
Seems the example in the Zip file (.ino) is a Arduino sketch.
Did you actually try to run the native RFSwitch code on the ESP ?
Thx..
User avatar
By erniberni
#14652
Justblair wrote:Tried the Adafruit BMP085 Library and I am unable to compile...

C:\Users\<USERNAME>\AppData\Local\Temp\build715613174620107804.tmp\Adafruit_BMP085_U\Adafruit_BMP085_U.cpp.o: In function `Adafruit_BMP085_Unified::Adafruit_BMP085_Unified(int)':
Adafruit_BMP085_U.cpp:(.text+0xd4): undefined reference to `pow'

I can compile with the pow function in the Arduino IDE


I had the same error. Asked google about this error and I found that a standard math lib should be linked.
I added the option to the linker in the file platform.txt:
compiler.c.elf.libs=-lc -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp -lm

Now I get a new error:
Code: Select allundefined reference to `__ieee754_sqrt'