You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build options changed, rebuilding all
libraries\THERMISTOR\thermistor.cpp.o:(.text._ZN10THERMISTOR4readEv+0x34): undefined reference to `analogReference'
libraries\THERMISTOR\thermistor.cpp.o:(.text._ZN10THERMISTOR4readEv+0x6f): undefined reference to `analogReference'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.`
Attempting to build your sample on a NodeMCU 1.0 using the ESP-12E with the arduino firmware returns this error.
From what I've read the ESP-12E should support this function, it does have an analog read pin.
2 years later, same issue with an ESP32.
Quick and dirty fix: go into thermistor.cpp and comment out the analogReference call.
A bit better: put it into an #ifndef 'something' depending on the board you have that problem with.
`Arduino: 1.6.13 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"
Build options changed, rebuilding all
libraries\THERMISTOR\thermistor.cpp.o:(.text._ZN10THERMISTOR4readEv+0x34): undefined reference to `analogReference'
libraries\THERMISTOR\thermistor.cpp.o:(.text._ZN10THERMISTOR4readEv+0x6f): undefined reference to `analogReference'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.`
Attempting to build your sample on a NodeMCU 1.0 using the ESP-12E with the arduino firmware returns this error.
From what I've read the ESP-12E should support this function, it does have an analog read pin.
Using 2.3.0 (latest as of now) of: https://github.com/esp8266/Arduino
Any suggestions?
The text was updated successfully, but these errors were encountered: