Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.19 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.19 KB

Clockstar Firmware

Build & Code Your Own Smartwatch

Building

To build the Clockstar base firmware, you'll need the ESP-IDF. You can find the getting started guide here. The production firmware is built using IDF version 5.1, commit 3a45d4e.

In the root directory of the project:

To build the firmware run idf.py build

To upload the firmware to the device run idf.py -p <PORT> flash. Replace <PORT> with the port Clockstar is attached to, for ex. COM6 or /dev/ttyUSB0.

Restoring the stock firmware

To restore the stock firmware, you can download the prebuilt binary on the releases page of this repository and flash it manually using esptool:

esptool -c esp32 -b 921600 -p <PORT> write_flash 0 Clockstar-Firmware.bin

Alternatively, you can also do so using CircuitBlocks by logging in, clicking the "Restore Firmware" button in the top-right corner, and following the on-screen instructions.