A PlatformIO project. Libraries download automatically on the first build. Tested on macOS; Linux and Windows should work the same way but have not been tested.
Plugged straight into a USB-C port of an Apple MacBook Air (M4), and likely other MacBook models and USB-C laptops, the ESP32 board stays dark and does not boot. It looks dead, but it is not: the board's USB-C socket lacks the resistors that tell a USB-C port to switch power on.
Fix: connect through a USB hub with USB-A ports, using a data USB-A to USB-C cable. This hub works with an Apple laptop: Amazon →
Firmware source code and host-side tests.
Download .zip 212 KBESP32 · Arduino · TFT_eSPI · TMCStepper · NimBLE
$ brew install platformio$ pipx install platformioThen allow serial access: sudo usermod -aG dialout $USER, and log out and back in.$ cd AutoSharpenerUSB and plug in the charger: the screen must stay dark. Then connect through a USB-A port or a hub (see the MacBook note above), with a data A-to-C cable. The board shows up as a CH340 serial port: /dev/cu.usbserial-… on macOS, /dev/ttyUSB0 on Linux, COM3 or similar on Windows. pio device list shows it.$ pio run -t upload -t monitorlib/Board/Board.h.$ ./test/native/run.shKinematics and paths, on your computer, no board needed. Needs bash and a C++ compiler: Xcode command-line tools on macOS, g++ on Linux, WSL on Windows (untested).Inventory of user interfaces focused on easy navigation and access to functions.