ESP32-C3 firmware for TIAB hardware
Building locally
To build using docker container
- Get espressif/idf docker image:
cd docker && ./builder.sh -u && cd ..
- Run the following command after deleting local build folder to build in docker container:
docker run --rm -v $PWD:/project -w /project espressif idf.py set-target esp32c3 build
For more info please read the follow article about ESP-IDF docker image
To build using ESP-IDF locally
-
Get ESP-IDF relase 5.1. Follow download instructions
-
After setting up environment and paths, run:
idf.py build
-
To flash over USB, run:
idf.py -p /dev/ttyACM0 flash
, replacing/dev/ttyACM0
with the port of the ESP
To connect through serial and send commands
You can use your favourite serial connection tool (like minicom), or the idf.py monitor:
Commands list
help
- view the available commands listset_color <RED> <GREEN> <BLUE>
- set color of the LEDDAR
- display rainbow on the LEDKEYS <key codes list>
- emulate keyboard shortcutMOUSE <delta_x> <delta_y> <scroll_vertical> <scroll_horizontal> <buttons_status>
- update the mouse statusKEYLEDS
- get keyboard LEDs status (is capslock enabled, etc.)