'Out of tree' project that modifies a value when a rotary encoder is rotated.
Uses the Seeed XIAO ESP32 S3 using the Zephyr RTOS. It should be straightforward to adapt to other ESP32S3 boards.
This assumes you've already installed & configured Zephyr.
Currently need to be
git checkout v3.6-branch
As normal, source the environment:
source ../zephyrproject/.venv/bin/activate
source ../zephyrproject/zephyr/zephyr-env.sh
source ../zephyrproject/zephyr/scripts/west_commands/completion/west-completion.bash
Espressif HAL requires binary blobs for peripherals to work. Run the command below to retrieve those files.
west blobs fetch hal_espressif
Build application & bootloader
west build -p always -b xiao_esp32s3/esp32s3/procpu
west flash
west build -t guiconfig --board xiao_esp32s3/esp32s3/procpu
Blue: SIG/ GPIO1, Yellow: CTRL/ GPIO3
Blue: SIG/ GPIO1, Yellow: CTRL/ GPIO3