Closed stif closed 1 year ago
The arduino-esp core version 2.0.x is required for 1.7 to be able to make use of the heavily modified UART handling in the core. Looks like the core you are using is missing these mods.
I missed a upgrade of the Platformio espressif32 Platform. Now i am on 6.1.0 (was 5.1.0) and it compiles fine.
- framework-arduinoespressif32 @ 3.20007.0 (2.0.7)
- tool-esptoolpy @ 1.40500.0 (4.5.0)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Really need to check the ethernet network issue with Olimex PoE Hardware and Core 2 Until then i will stick to eModbus v1.6.0
Thank you very much
I had today the exact same problem. Thanks to this ticket I solved it easily. Thanks for reporting the solution.
Describe the bug
i use PlatformIO Core, version 6.1.6 and eModbus and have a compile error since v1.7.0
i still use Arduino Core 1.0.6 because of Ethernet network issues with Core 2.0.4 (another problem) but the eModbus 1.7.0 does not compile with Core 2.0.4 either, although with a different compile error 🤔
the project compiles fine with eModbus v1.6.0 on Core 1.0.6 and Core 2.0.4
Compile Error
Arduino Core 1.0.6 (platform = espressif32 @ ~3.5.0 in platformio.ini)
Arduino Core 2.0.4 (platform = espressif32 in platformio.ini)