Миграция FastAccelStepper на ESP-IDF 6

This commit is contained in:
Beslan
2026-05-02 12:41:52 +03:00
parent 4c731c6cef
commit 28f46a4d64
58 changed files with 1909 additions and 1095 deletions

View File

@@ -8,10 +8,12 @@
// #define ESP32C3_TEST_PROBE
// in rmt:
// TEST_PROBE_1 on startQueue and queue stop, with double toggle at
// startQueue TEST_PROBE_2 end interrupt, when rmt transmission hits buffer
// end TEST_PROBE_3 threshold interrupt, after first buffer half transmission
// is complete
// - TEST_PROBE_1: on startQueue and queue stop, with double toggle at
// startQueue
// - TEST_PROBE_2: end interrupt, when rmt transmission hits buffer end
// - TEST_PROBE_3: threshold interrupt, after first buffer half transmission is
// complete
// - TEST_PROBE_4: on command completed, read pointer advanced
#ifdef ESP32_TEST_PROBE
#define TEST_PROBE_1 18
@@ -52,5 +54,14 @@
#define PROBE_3(x)
#define PROBE_3_TOGGLE
#endif
#ifdef TEST_PROBE_4
#define PROBE_4(x) digitalWrite(TEST_PROBE_4, x)
#define PROBE_4_TOGGLE \
pinMode(TEST_PROBE_4, OUTPUT); \
digitalWrite(TEST_PROBE_4, digitalRead(TEST_PROBE_4) == HIGH ? LOW : HIGH)
#else
#define PROBE_4(x)
#define PROBE_4_TOGGLE
#endif
#endif