gin66 / FastAccelStepper

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

ESP32 S3 MCPWM/PCNT Support #162

Closed HeldeReis closed 1 year ago

HeldeReis commented 1 year ago

This changes allow support for ESP32 S3 using MCPWM/PCNT.

I believe it can support up to 4 motors, but only tested with 2 motors simultaneously.

gin66 commented 1 year ago

Thanks for the patch. I could not found the definition of SUPPORT_ESP32S3_MCPWM_PCNT, so I have added the definition in common.h.

In addition I have added a github action to ensure, that the port can be built.