gin66 / FastAccelStepper

A high speed stepper library for Atmega 168/328p (nano), Atmega32u4, Atmega 2560, ESP32, ESP32S2, ESP32S3, ESP32C3 and Atmel SAM Due
MIT License
282 stars 67 forks source link

Build errors when using ESP core lib >=3 #251

Closed ChrGri closed 2 months ago

ChrGri commented 2 months ago

Hi @gin66,

just a quick info, so that you are prepared. Since there is a problem with the serial output for ESP32 S3, see, I wanted to test ESP32 core lib 3.0: image

It seems to be incompaitble with this stepper lib: image

BR Chris

gin66 commented 2 months ago

Looking at espidf, that call is present in another header. Perhaps just need another include

BTW: I have given up to understand the versions of esp32 core, idf, arduino,… Now I am only using in platformio.ini these lines:

[env:esp32_V6_5_0]
platform = espressif32 @ 6.5.0

With release versions being defined here

gin66 commented 2 months ago

espressif V6.6.0 still works (and the framework even creates warnings, which is an issue for itself).

If any official espressif version breaks, then I will take this up. For now I do not plan to bugfix on 3.3.0-rc1

ChrGri commented 2 months ago

Thank you for the feedback. Following your advice, I wanted to test via platformio but I'm a bit confused since it shows me two different ESP core variants, see red lines in build log below.

image

Can you confirm that indeed the 6.5 core was used and not the Arduino 2.0.14 core packake?

BR Chris

gin66 commented 2 months ago

Apparently the 6.5.0 platform contains the framework-arduinoespressif32 v2.0.34. What in this context is “ core”, I do not know,

As I have said before, the versioning scheme is a bit confusing and I prefer to stick to the platformio-platform versioning for the build tests.