air pressure weather forecast sensor compilation

9 years 1 month ago #2105 by subsix
Hello, when i try to compil esp8266_pressure.ino i get following problems

- esp8266_pressure.ino:47:3: error: 'Serial1' was not declared in this scope, why two serial link ? how i can fix that ?

- if i put only Serial, i have a "out of memory "

Insufficient memory because var use 104% please look here, blabla ...
www.arduino.cc/en/Guide/Troubleshooting#size

I use Arduino IDE 1.6.3

Please Log in or Create an account to join the conversation.

9 years 1 month ago #2175 by subsix
I have tried with Arduino 1.63, 1.6.0, 1.0 same problems ...

Insufficient memory
(its in french but you can see ...)
Attachments:

Please Log in or Create an account to join the conversation.

8 years 9 months ago #2658 by subsix
any news ?

can't compile for arduino 3.3v 8mhz, compilation only work for Arduino MEga 2560 !

thx

Please Log in or Create an account to join the conversation.

8 years 8 months ago #2767 by networx
Compilation stops:

Arduino: 1.6.7 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\psc\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\psc\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\psc\Documents\Arduino\libraries" -fqbn=esp8266com:esp8266:nodemcuv2:CpuFrequency=80,UploadTool=esptool,UploadSpeed=115200,FlashSize=4M3M -ide-version=10607 -build-path "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\psc\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\psc\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\psc\Documents\Arduino\libraries" -fqbn=esp8266com:esp8266:nodemcuv2:CpuFrequency=80,UploadTool=esptool,UploadSpeed=115200,FlashSize=4M3M -ide-version=10607 -build-path "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoTMsg.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM\EEPROM.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "C:\Users\psc\Documents\Arduino\libraries\SFE_BMP180\SFE_BMP180.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire\Wire.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -Wall -Wextra -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=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp" -o "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp.o"
In file included from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT/Esp8266EasyIoT.h:24:0,

from C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino:11:

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT/Esp8266EasyIoTMsg.h:37:0: warning: "BIT" redefined [enabled by default]

#define BIT(n) ( 1<<(n) )

^

In file included from C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266/esp8266_peri.h:24:0,

from C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266/Arduino.h:38,

from C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\sketch\easy_weather.ino.cpp:1:

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include/c_types.h:60:0: note: this is the location of the previous definition

#define BIT(nr) (1UL << (nr))

^

In file included from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT/Esp8266EasyIoT.h:24:0,

from C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino:11:

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT/Esp8266EasyIoTMsg.h:147:1: warning: 'typedef' was ignored in this declaration [enabled by default]

} ;

^

C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino: In function 'void loop()':

C:\Users\psc\Documents\Arduino\easy_weather\easy_weather.ino:83:17: warning: unused variable 'a' [-Wunused-variable]

double T,P,p0,a;

^

"C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" -c -Wall -Wextra -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=10607 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM" "-IC:\Users\psc\Documents\Arduino\libraries\SFE_BMP180" "-IC:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire" "-IC:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT" "C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp" -o "C:\Users\psc\AppData\Local\Temp\build02e466f33175006c960b3067c0002a74.tmp\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp.o"
In file included from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.h:24:0,

from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:18:

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoTMsg.h:37:0: warning: "BIT" redefined [enabled by default]

#define BIT(n) ( 1<<(n) )

^

In file included from C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266/esp8266_peri.h:24:0,

from C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\cores\esp8266/Arduino.h:38,

from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.h:21,

from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:18:

C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266/tools/sdk/include/c_types.h:60:0: note: this is the location of the previous definition

#define BIT(nr) (1UL << (nr))

^

In file included from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.h:24:0,

from C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:18:

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoTMsg.h:147:1: warning: 'typedef' was ignored in this declaration [enabled by default]

} ;

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp: In member function 'void Esp8266EasyIoT::begin(void (*)(const Esp8266EasyIoTMsg&), int, Stream*, Stream*)':

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:58:84: error: 'eeprom_read_block' was not declared in this scope

eeprom_read_block((void*)&_nodeId, (void*)EEPROM_NODE_ID_ADDRESS, sizeof(uint16_t));

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp: In member function 'bool Esp8266EasyIoT::process()':

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:231:92: error: 'eeprom_write_block' was not declared in this scope

eeprom_write_block((void*)&_nodeId, (void*)EEPROM_NODE_ID_ADDRESS, sizeof(uint16_t));

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:203:12: warning: unused variable 'len' [-Wunused-variable]

uint8_t len = msg.length;

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:205:13: warning: unused variable 'sender' [-Wunused-variable]

uint16_t sender = mGetSender(msg);

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp: In member function 'e_internal_state Esp8266EasyIoT::processesp()':

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:356:7: warning: unused variable 'from1' [-Wunused-variable]

byte from1, from2;

^

C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT\Esp8266EasyIoT.cpp:356:14: warning: unused variable 'from2' [-Wunused-variable]

byte from1, from2;

^

Mehrere Bibliotheken wurden für "SFE_BMP180.h" gefunden
Benutzt: C:\Users\psc\Documents\Arduino\libraries\SFE_BMP180
Nicht benutzt: C:\Users\psc\Documents\Arduino\libraries\BMP180_Breakout_Arduino_Library-master
Bibliothek Esp8266EasyIoT im Ordner: C:\Users\psc\Documents\Arduino\libraries\Esp8266EasyIoT (legacy) wird verwendet
Bibliothek EEPROM in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\EEPROM wird verwendet
Bibliothek SFE_BMP180 im Ordner: C:\Users\psc\Documents\Arduino\libraries\SFE_BMP180 (legacy) wird verwendet
Bibliothek Wire in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\Wire wird verwendet
exit status 1
Fehler beim Kompilieren.

Please Log in or Create an account to join the conversation.

8 years 8 months ago - 8 years 8 months ago #2844 by seston
Small problem too

https://codebender.cc/sketch:231747
codebender.cc/sketch:231747

Software serial i add and using macro F too. What i need more ?

Not enough space.

Please Log in or Create an account to join the conversation.

Time to create page: 0.358 seconds

Forum latest

  • No posts to display.