vitotai / BrewPiLess

Use an ESP8266 to replace RPI and Arduino. Running BrewPi without Pi, therefore, BrewPi-Less
352 stars 131 forks source link

Struggling to build for esp8266 #287

Open iamandymcinnes opened 3 years ago

iamandymcinnes commented 3 years ago

I've just pulled the latest, and I've been through and updated everything platform and library, but when I try to build either the esp8266-dev project I just get ton's of errors:

Processing esp8266-dev (platform: espressif8266@~2.2.0; board: nodemcuv2; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html PLATFORM: Espressif 8266 (2.2.3) > NodeMCU 1.0 (ESP-12E Module) HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Environment Status Duration


esp8266-dev FAILED 00:00:12.141 ============================================================= 1 failed, 0 succeeded in 00:00:12.141 ============================================================= The terminal process "C:\Users\mcinnesa.platformio\penv\Scripts\pio.exe 'run', '--environment', 'esp8266-dev'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

daghovland commented 3 years ago

Not sure, but there could be something wrong with the c++ version your comiler assumes. Hard to say without more details, f.ex. what compiler are you using (gcc?) and how you are compiling this (PlatformIO?).

papatsit commented 3 years ago

I have the same issue as "iamandymcinnes" Can anyone help us ? I am not used also in PlatformIO . If i upload the hex file , is the Wifi Manager working ? Serial does not seem to respond . Thanks .

vitotai commented 3 years ago

Try "Clean" by clicking the trash can icon.

Update: I have the same issue after removing all frameworks. Other versions compile fine hut have issues with WiFi. You can try changing the framework version to 2.6.3 to see if it works.(Mine can't connect to WiFi.)