Forum Replies Created
-
AuthorPosts
-
gmauzyParticipantThis isn’t much help but I could never get his ESP8266 project to compile either. I don’t think it is on our end.
gmauzyParticipantCan you clean up the repo so we all can compile this without errors?
gmauzyParticipantNo, I could never get it to compile correctly. I just have the Nodemcu v2 boards. They work well otherwise. After wasting all the time trying to compile this, I installed it on a raspberry pi. That was basically plug and play.
gmauzyParticipantRay – I have a spare i2c LCD. Is it just a matter of hooking it up to the correct pins on the raspberry pi and changing the settings in the firmware?
gmauzyParticipantI can help you if you haven’t got it running. I just set mine up this way last night.
gmauzyParticipantMy apologies. I am still new at compiling. Here is where it errors out now:
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\Pins.cpp.o:(.data.ADR+0x0): multiple definition of
ADR’
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\OpenSprinkler.cpp.o:(.data.ADR+0x0): first defined here
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\Pins.cpp.o:(.data.ADR_R+0x0): multiple definition of `ADR_R’
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\OpenSprinkler.cpp.o:(.data.ADR_R+0x0): first defined here
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\Pins.cpp.o:(.bss.ADR_DEV_NAME+0x0): multiple definition of `ADR_DEV_NAME’
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\OpenSprinkler.cpp.o:C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp/EtherCardW5100.h:176: first defined here
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\Pins.cpp.o:(.data.ADR_TYP+0x0): multiple definition of `ADR_TYP’
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\OpenSprinkler.cpp.o:(.data.ADR_TYP+0x0): first defined here
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\Pins.cpp.o: In function `scanNetwork()’:
C:\Users\garrem03\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/FS.h:48: multiple definition of `ScanI2c()’
C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp\OpenSprinkler.cpp.o:C:\Users\garrem03\AppData\Local\Temp\build100503253142010646.tmp/OpenSprinkler.cpp:417: first defined here
collect2.exe: error: ld returned 1 exit status`
gmauzyParticipant@pbecchi Yes, you did. I downloaded the entire git repository and was compiling the files in the folder OpenSprinklerArduino_v_2.1.6. SPIFFSsdfat is in those files..
gmauzyParticipantSorry to be a pest. Did you have a chance to look this over? I discovered it doesn’t compile and I haven’t made any changes. I’m using Arduino IDE 1.6.5 and esp8266 board version 2.0. Attached are the error outputs.
Attachments:
gmauzyParticipantAll I want to do is use 4 or 5 open GPIO pins to control my stations. I will manage everything over the computer or app. I don’t need the shift register, lcd or push buttons. I’ve still been messing around but I just can’t get it to compile. If you have any other suggestions that would be great.
gmauzyParticipantI downloaded a fresh copy of the firmware, but I still get the above error. I even just declared the proto=6 in pins.h. That is the one closest to what I need to do.
I have an 8 channel relay module, but will only use 5. I do not have a shift register or a RTC.
Thanks for your help. I bet it’s something simple.
gmauzyParticipantAny thoughts on my compile error?
gmauzyParticipantMaybe that’s my problem. I was also editing Config.h. Whatever was changed from a month ago broke me being able to compile. I keep getting errors about EtherCardW5100_o.cpp and EtherCardW5100.h with variables ‘not declared in scope’. All I want to do is test it out without using a RTC, but so far I have had no luck.
Arduino: 1.6.5 (Windows 8.1), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" Using library EEPROM in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM Using library Wire in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire Using library ESP8266mDNS in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS (legacy) Using library SD(esp8266) in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD Using library LiquidCrystal in folder: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal (legacy) Using library SPI in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI Using library Ethernet(esp8266) in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet Using library ESP8266WiFi in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi Using library DNSServer in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer Using library ESP8266WebServer in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer Using library WiFiManager in folder: C:\Users\Michelle\Documents\Arduino\libraries\WiFiManager Using library ArduinoOTA in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\Eeprom_ESP.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\Eeprom_ESP.cpp.o C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\eeprom_mio.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\eeprom_mio.cpp.o C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.cpp.o C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp.o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In member function 'void BufferFiller::emit_p(const char*, ...)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:191:36: error: 'eeprom_read_byte' was not declared in this scope while ((d = eeprom_read_byte(s++)) != 0) ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:228:6: error: multiple definition of 'enum tcpstate_t' enum tcpstate_t ^ In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:183:6: error: previous definition here enum tcpstate_t ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:257:37: error: 'WiFiServer EtherCardW5100::w5100server' is not a static member of 'class EtherCardW5100' ETHERNES EtherCardW5100::w5100server(80); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:258:26: error: 'WiFiClient EtherCardW5100::w5100client' is not a static member of 'class EtherCardW5100' ETHERNEC EtherCardW5100::w5100client; ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:259:28: error: 'WiFiUDP EtherCardW5100::w5100udp' is not a static member of 'class EtherCardW5100' ETHERNEUDP EtherCardW5100::w5100udp; ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static bool EtherCardW5100::staticSetup(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:289:18: error: no matching function for call to 'EtherCardW5100::WiFiconnect(bool)' WiFiconnect(true); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:289:18: note: candidates are: In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: static bool EtherCardW5100::WiFiconnect() static bool WiFiconnect(); // Connect ESP8266 to network and start server ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: candidate expects 0 arguments, 1 provided C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*) static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: candidate expects 4 arguments, 1 provided C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:295:2: error: 'w5100server' was not declared in this scope w5100server.begin(); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:309:6: error: prototype for 'bool EtherCardW5100::WiFiconnect(bool)' does not match any in class 'EtherCardW5100' bool EtherCardW5100::WiFiconnect(bool isStatic) ^ In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: error: candidates are: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*) static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: error: static bool EtherCardW5100::WiFiconnect() static bool WiFiconnect(); // Connect ESP8266 to network and start server ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static bool EtherCardW5100::dhcpSetup(const char*, bool)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:345:23: error: no matching function for call to 'EtherCardW5100::WiFiconnect(bool)' if( WiFiconnect(false)==false) ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:345:23: note: candidates are: In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: static bool EtherCardW5100::WiFiconnect() static bool WiFiconnect(); // Connect ESP8266 to network and start server ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: candidate expects 0 arguments, 1 provided C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*) static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: candidate expects 4 arguments, 1 provided C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:350:5: error: 'w5100server' was not declared in this scope w5100server.begin(); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static uint16_t EtherCardW5100::packetLoop(uint16_t)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:414:18: error: 'w5100client' was not declared in this scope /*ETHERNEC*/ w5100client = w5100server.available(); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:414:32: error: 'w5100server' was not declared in this scope /*ETHERNEC*/ w5100client = w5100server.available(); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::ntpRequest(uint8_t*, uint8_t)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:458:5: error: 'w5100udp' was not declared in this scope w5100udp.begin ( srcport ); // TODO - should this be in begin()? ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static unsigned char EtherCardW5100::ntpProcessAnswer(uint32_t*, unsigned char)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:474:22: error: 'w5100udp' was not declared in this scope int packetSize = w5100udp.parsePacket(); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:742:7: error: prototype for 'void EtherCardW5100::httpServerReply(uint16_t)' does not match any in class 'EtherCardW5100' void EtherCardW5100::httpServerReply ( uint16_t dlen ) ^ In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0: C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:294:17: error: candidate is: static void EtherCardW5100::httpServerReply(word) static void httpServerReply ( word dlen ); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::httpServerReply_with_flags(uint16_t, uint8_t)': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:773:4: error: 'w5100client' was not declared in this scope w5100client.print ( ( char* ) bfill.buffer() ); ^ C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::browseUrl(const char*, const char*, const char*, const char*, void (*)(uint8_t, uint16_t, uint16_t))': C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:869:2: error: 'w5100client' was not declared in this scope w5100client.stop(); ^ Multiple libraries were found for "SD.h" Used: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD Not used: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\SD Multiple libraries were found for "Ethernet.h" Used: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet Not used: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\Ethernet Error compiling.
gmauzyParticipantI don’t think I’m configuring this correctly. Can you provide the config.h file for me to review?
gmauzyParticipantThis is what I get:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
gmauzyParticipantWhat did you do exactly to get out of the boot loop? I am having the same problem. No RTC.
-
AuthorPosts