This guide covers building and flashing the ESP32‑S3 firmware and running the host tools.
pip install platformio
or use the VS Code extensioncd firmware/stylus_maker_esp32s3
pio run
pio run -t upload
pio device monitor -b 115200
{"boot":"rhz_stylus_maker","ver":"vX.Y.Z"}
Notes
v0.1.1
) or git describe
; local builds default to "dev"
.src/version_auto.h
at compile time with RHZZ_VERSION_STR
.If you prefer manual flashing, download the release assets from GitHub (bootloader.bin
, partitions.bin
, firmware.bin
) and run:
esptool.py --chip esp32s3 --port /dev/ttyACM0 --baud 460800 \
write_flash 0x0000 bootloader.bin 0x8000 partitions.bin 0x10000 firmware.bin
Adjust --port
for your system (e.g., /dev/ttyUSB0
, COM5
).
pip install numpy pandas scipy pyserial flake8
python host/psd_quicklook.py sample.csv
python host/logger_serial.py --port /dev/ttyACM0 --baud 115200
Troubleshooting