Open Rooo6 opened 2 weeks ago
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. Eg.: src\TempControl.cpp before if (SONOFF_NEWGEN) { pinMode(relayIndicatorPin, OUTPUT); } After
I`ve create a pull request with the fix
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:
~~~~~ 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 ====================================