Zwer2k / WeatherStationDataRx

Arduino library for read weather data from Venus W174/W132 (tested), Auriol H13726, Hama EWS 1500, Meteoscan W155/W160
MIT License
23 stars 8 forks source link

Minor Bugfixing, Enhanced MCU and Transmitters compatibility, updated… #2

Closed rtu-dataframe closed 4 years ago

rtu-dataframe commented 4 years ago

Hi @Zwer2k,

I've created a PR in order to these following enhancements at project level:

Zwer2k commented 4 years ago

Hallo @Simonefardella ,

Thank you for your support. I get an error message when I run "platformio test": Warning! Ignore unknown configuration option 'src_filter' in section [platformio] .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0x4): undefined reference to 'setup' .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0x8): undefined reference to 'loop' .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o): In function 'loop_wrapper()': core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x21): undefined reference to 'setup' core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x2d): undefined reference to 'loop' collect2.exe: error: ld returned 1 exit status *** [.pio\build\esp12e\firmware.elf] Error 1

With WeatherStationDemo.cpp it worked. How can I test the code?

rtu-dataframe commented 4 years ago

Ok, i've restored the original .cpp file extension, i don't know why, but it seems that platformio needs the .cpp files in order to run the unit tests.

As matter of fact, now everything works!

Zwer2k commented 4 years ago

Thank You Simone