You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use local UART driver not HardwareSerial
The HardwareSerial driver is broken in Arduino framework versions
1.0.5 and 1.0.6 . espressif/arduino-esp32#5005
Instead of waiting for a fix, I wrote a very simple UART driver that
does exactly what we need with no unnecessary bells and whistles to
cause problems.
* Added missing files, changed method signatures
The methods implemented by the UART class now
have the same signatures as the HardwareSerial
class, so it will be easy to switch back if we
need to.
* Incorporated suggestions from Stefan
* Fixed TX_IDLE_NUM bug reported by mstrens
* Quick test for Bf: problem
This is not the final solution.
* Fixed stupid typo in last commit
* Another test - check for client_buffer space
* Use the esp-idf uart driver
You can revert to the direct driver for testing by
defining DIRECT_UART
* Uart class now supports VFD and TMC
* data bits, stop bits, parity as enum classes
The constants for data bits, stop bits, and parity
were changed to enum classes so the compiler can
check for argument order mismatches.
* Set half duplex after uart init
* Init TMC UART only once
* rx/tx pin order mixup, missing _uart_started
* Test: use Arduino Serial
This reverts to the Arduino serial driver for
UI communication, leaving the VFS comms on the
Uart class on top of the esp_idf UART driver.
You can switch back and forth with the
define REVERT_TO_SERIAL
line in Serial.cpp
* REVERT_TO_ARDUINO_SERIAL off by default
* Added debug messages
* Update Grbl.h
* Update platformio.ini
Co-authored-by: bdring <[email protected]>
0 commit comments