-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building v4.4 #442
Comments
I can confirm that building the current master branch is not possible. I get the exact same errors. |
Find all code with if (SONOFF_NEWGEN) blocks and change to #if SONOFF_NEWGEN, idk if it is the best way to solve, but I think this will solve both problems. I`ve create a pull request with the fix |
other errors on ESP8266 .... |
Trying to build the project (v4.4) i'm getting error messages:
Version 4.3 worked for me and could be installed on esp32-dev
`Processing esp32-dev (platform: espressif32@~6.8.1; board: esp32dev; framework: arduino)
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.8.1) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 46 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.19.3
|-- ESP8266_SSD1306 @ 4.0.0
|-- NimBLE-Arduino @ 1.4.2
|-- AsyncTCP @ 1.1.1+sha.ca8ac5f
|-- ESP Async WebServer @ 1.2.3+sha.43381ab
|-- FS @ 2.0.0
|-- LittleFS @ 2.0.0
|-- SPIFFS @ 2.0.0
|-- WiFi @ 2.0.0
|-- ArduinoOTA @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- OneWire @ 2.3.7
|-- HTTPClient @ 2.0.0
|-- WiFiClientSecure @ 2.0.0
|-- Wire @ 2.0.0
|-- WebServer @ 2.0.0
|-- PolynomialRegression
|-- DNSServer @ 2.0.0
|-- Adafruit ADS1X15 @ 1.0.1
|-- AsyncMqttClient @ 0.8.2
|-- Adafruit BME280 Library @ 2.1.2
|-- Adafruit Unified Sensor @ 1.1.4
|-- Update @ 2.0.0
|-- DHT sensor library @ 1.4.0
|-- EEPROM @ 2.0.0
Building in release mode
Compiling .pio\build\esp32-dev\src\Actuator.cpp.o
Compiling .pio\build\esp32-dev\src\ActuatorArduinoPin.cpp.o
Compiling .pio\build\esp32-dev\src\ArduinoFunctions.cpp.o
Compiling .pio\build\esp32-dev\src\AutoCapControl.cpp.o
Compiling .pio\build\esp32-dev\src\BPLSettings.cpp.o
Compiling .pio\build\esp32-dev\src\BleListener.cpp.o
Compiling .pio\build\esp32-dev\src\BlePillListener.cpp.o
Compiling .pio\build\esp32-dev\src\BleSensorListener.cpp.o
Compiling .pio\build\esp32-dev\src\BleTiltListener.cpp.o
Compiling .pio\build\esp32-dev\src\BrewKeeper.cpp.o
Compiling .pio\build\esp32-dev\src\BrewLogger.cpp.o
Compiling .pio\build\esp32-dev\src\BrewPiLess.cpp.o
Compiling .pio\build\esp32-dev\src\BrewPiProxy.cpp.o
Compiling .pio\build\esp32-dev\src\Brewpi.cpp.o
Compiling .pio\build\esp32-dev\src\BrewpiStrings.cpp.o
Compiling .pio\build\esp32-dev\src\Buzzer.cpp.o
Compiling .pio\build\esp32-dev\src\DS2413.cpp.o
Compiling .pio\build\esp32-dev\src\DallasTemperature.cpp.o
Compiling .pio\build\esp32-dev\src\DataLogger.cpp.o
Compiling .pio\build\esp32-dev\src\DeviceManager.cpp.o
Compiling .pio\build\esp32-dev\src\Display.cpp.o
Compiling .pio\build\esp32-dev\src\DisplayIspindel.cpp.o
Compiling .pio\build\esp32-dev\src\DisplayLcd.cpp.o
Compiling .pio\build\esp32-dev\src\ESP32HTTPUpdateServer.cpp.o
Compiling .pio\build\esp32-dev\src\ESPUpdateServer.cpp.o
Compiling .pio\build\esp32-dev\src\EepromManager.cpp.o
src/BrewPiLess.cpp: In function 'void brewpi_setup()':
src/BrewPiLess.cpp:1706:11: error: 'sensorPowerPin' was not declared in this scope
pinMode(sensorPowerPin, OUTPUT); // Power for sonoff temp sensor
^~~~~~~~~~~~~~
src/BrewPiLess.cpp:1708:11: error: 'powerIndicatorPin' was not declared in this scope
pinMode(powerIndicatorPin, OUTPUT);
^~~~~~~~~~~~~~~~~
*** [.pio\build\esp32-dev\src\BrewPiLess.cpp.o] Error 1
========================================= [FAILED] Took 15.35 seconds =========================================
Environment Status Duration
esp32-dev FAILED 00:00:15.350
==================================== 1 failed, 0 succeeded in 00:00:15.350 ====================================
The text was updated successfully, but these errors were encountered: