M5Unified
M5Unified copied to clipboard
M5Unified and Arduino 3.0 on Core2
Hello, after running a few tests I realized that the M5Unified library is not compatible with Arduino 3.0 and IDF 5.1 I took the display example (https://github.com/m5stack/M5Unified/tree/master/examples/Basic/Displays), run it WITHOUT Arduino as a component and it works perfectly. I then added Arduino and it stopped working: Backtrace: 0x400d73f5:0x3ffb92f0 0x400e12e2:0x3ffb9360 0x40089ada:0x3ffb9380 0x400d73f5: lgfx::v1::LGFXBase::width() const at /esp/test/components/M5GFX/src/lgfx/v1/LGFXBase.hpp:311 (inlined by) setup() at /esp/test/main/test.cpp:233 0x400e12e2: loopTask(void*) at /esp/test/components/arduino/cores/esp32/main.cpp:59 0x40089ada: vPortTaskWrapper at /esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162
I tried to disable as many Arduino libraries as possible (SPI, Ethernet, SD, SPIFFS, OTA, WifiProv and so on) but the result is the same. Any operation on the display leads to a crash.
Does anybody have the same problem or any idea to where to start to inspect this problem?
Thank you