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

Any support for ESP32-C6 DevKits? #266

Open kyrinth021883 opened 2 weeks ago

kyrinth021883 commented 2 weeks ago

Hello! New to ESP32 microcontrollers, stepper motors and drivers. Was following some great learning examples for the TMC2209 driver by Daniel Frenkel and his book.

In his TMC2209 examples he uses an ESP32 DevkitC and calls out using the FastAccelStepper library. I am using a Sparkfun ESP32-C6 Thing Plus and am getting a "Unsupported Derivate" error when trying to compile one of the Demo sketches.

image

Is the error I am getting simply due to ESP32-C6 not being supported yet by this library? I don't see it listed on the main git page where it lists all the ESP32 platforms that have been tested/passed.

If this is the case, is there any kind of work around? Or am I just not able to use the EPS32-C6 boards I got with this library at all? Thank you for any/all help! :)

gin66 commented 2 weeks ago

FastAccelStepper does not support esp32 Arduino release 3.x.x (see #261) and this will not change in a while. Good is, that esp32c6 is supported by the 2.x versions. More specifically: since platformio 6.4.0. No idea how this maps to Arduino IDE versions.

BTW: if you use Arduino IDE, you will be "blessed" with the Arduino library manager related issue, because Arduino IDE is stuck at FastAccelStepper 0.30.0, while lib is actually at 0.30.15.

From platform c6 support should be possible. Just until now, no one has checked, how compatible the modules are to any of the other variants.

There are now IMHO these options:

kyrinth021883 commented 2 weeks ago

Thank you for the fast response and info! Initially I was looking into using platformio in Visual Studio Code, but also ran into issues where the ESP32-C6 was not supported yet, so came back to Arduino IDE. I'll re-visit platformio also. I am positive a lot of my issues are due to my inexperience as much of all this is new still to me and I am trying to learn as much as possible.

I appreciate your time and efforts!