Closed PiotrBeeScale closed 3 months ago
Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stick-c.html PLATFORM: Espressif 32 (6.4.0) > M5Stick-C HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) 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:
-v, --verbose
Environment Status Duration
m5stickcplus FAILED 00:00:10.894
The version downloaded on November 28, 2023 compiles correctly.
Sorry, I again forgot to align some new configuration element in the setup.h Please update and try again.
setup.h
Thank you very much for your help, after updating setup.h everything works as it should.
Processing m5stickcplus (platform: espressif32; board: m5stick-c; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stick-c.html PLATFORM: Espressif 32 (6.4.0) > M5Stick-C HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) 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:~~~~~~~~ include/mqtt.h:212:37: note: suggested alternative: 'SG_RELAY_ACTIVE_STATE' digitalWrite(SAFETY_RELAY_PIN, !SAFETY_RELAY_ACTIVE_STATE); ^~~~~~~~~ SG_RELAY_ACTIVE_STATE include/mqtt.h:218:36: error: 'SAFETY_RELAY_ACTIVE_STATE' was not declared in this scope digitalWrite(SAFETY_RELAY_PIN, SAFETY_RELAY_ACTIVE_STATE); ^~~~~~~~~ include/mqtt.h:218:36: note: suggested alternative: 'SG_RELAY_ACTIVE_STATE' digitalWrite(SAFETY_RELAY_PIN, SAFETY_RELAY_ACTIVE_STATE); ^~~~~~~~~ SG_RELAY_ACTIVE_STATE src/main.cpp: In function 'void setup()': src/main.cpp:314:35: error: 'SAFETY_RELAY_ACTIVE_STATE' was not declared in this scope digitalWrite(SAFETY_RELAY_PIN, !SAFETY_RELAY_ACTIVE_STATE); ^~~~~~~~~ src/main.cpp:314:35: note: suggested alternative: 'SG_RELAY_ACTIVE_STATE' digitalWrite(SAFETY_RELAY_PIN, !SAFETY_RELAY_ACTIVE_STATE); ^~~~~~~~~ SG_RELAY_ACTIVE_STATE Compiling .pio\build\m5stickcplus\FrameworkArduino\cbuf.cpp.o Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-adc.c.o Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-bt.c.o Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-cpu.c.o Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-dac.c.o Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-gpio.c.o *** [.pio\build\m5stickcplus\src\main.cpp.o] Error 1 Compiling .pio\build\m5stickcplus\FrameworkArduino\esp32-hal-i2c-slave.c.o ================================ [FAILED] Took 10.89 seconds ================================Environment Status Duration
m5stickcplus FAILED 00:00:10.894
The version downloaded on November 28, 2023 compiles correctly.