From 8d5e24e10254be80a1388f4b27d89b593cae82d5 Mon Sep 17 00:00:00 2001 From: Jochen Kiemes Date: Sat, 14 Oct 2023 20:37:56 +0200 Subject: [PATCH] release 0.30.6 --- CHANGELOG.md | 5 +++-- README.md | 3 ++- examples/StepperDemo/StepperDemo.ino | 6 ++++++ library.properties | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 434eaafb..84524164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,9 @@ TODO: - rename RampConstAcceleration to e.g. RampControl - merge the two esp32 rmt drivers as soon as esp32c3 works -pre-0.30.6: -- Partly tested support for ESP32C3 +0.30.6: +- Support for ESP32C3 +- Fix for missing `_stepper_cnt` initialization (patch #204) 0.30.5: - Fix target position for a move() interrupting the keep running mode diff --git a/README.md b/README.md index b85251f4..b8a03323 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# BE AWARE: ARDUINO LIBRARY MANAGER IS BROKEN AND 0.29.x do not show. +# BE AWARE: ARDUINO LIBRARY MANAGER IS BROKEN AND 0.29.x/0.30.x with x>1 do not show. No issue with platformio. Check the [related issue](https://github.com/arduino/library-registry/issues/2829) for the arduino library manager @@ -435,6 +435,7 @@ This feature of StepperDemo allows to compare non-smooth running stepper in an a * In one setup, operating A4988 without microsteps has led to erratic behaviour at some specific low speed (erratic means step forward/backward, while DIR is kept low). No issue with 16 microstep. These two youtube videos show similar behavior: [hard disc stepper](https://youtu.be/DsYgw3GFHZo) and [axes movement](https://youtu.be/Nw18B81Ylhk) * The pulse counters in esp32 have several comparators to trigger interrupts. What the documentation does not mention: All those reference values are only forwarded to the actual comparator on pulse counter reset. Thus the pulse counters cannot be used as lower 16bit of the position, unfortunately. * The [issue #60](https://github.com/gin66/FastAccelStepper/issues/60) was raised due to wrong position on negative moves with esp32. Apparently the issue was with proper ground and/or power lines to the stepper driver. If similar issue is encountered, please check on this issue +* ESP32C3: USBSerial works only under Arduino IDE. platformio support for USBSerial is missing ## 3rd party videos in action diff --git a/examples/StepperDemo/StepperDemo.ino b/examples/StepperDemo/StepperDemo.ino index 6e94a14b..e23e811a 100644 --- a/examples/StepperDemo/StepperDemo.ino +++ b/examples/StepperDemo/StepperDemo.ino @@ -908,6 +908,12 @@ void test_direct_drive(const struct stepper_config_s *stepper) { void setup() { SerialInterface.begin(115200); +#ifdef CONFIG_IDF_TARGET_ESP32C3 + while (!USBSerial) { + ; // wait for USB serial port to connect. + } +#endif + output_msg(MSG_STEPPER_VERSION); SerialInterface.print(" F_CPU="); SerialInterface.println(F_CPU); diff --git a/library.properties b/library.properties index 617a1ae9..7e2c424d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=FastAccelStepper -version=0.30.5 +version=0.30.6 1icense=MIT author=Jochen Kiemes maintainer=Jochen Kiemes