

default:
    just -l

# Prepare documentation for publishing GitHub pages
publish-doc:
    cargo clean
    cargo doc --no-deps --workspace
    git checkout pages
    cp -r target/xtensa-esp32s3-none-elf/doc/* .
    git add -u

# Run screen_counter example.
run-counter:
    cargo run -p m5dial-examples --bin screen_counter

# Run screen_counter_irq example.
run-counter-irq:
    cargo run -p m5dial-examples --bin screen_counter_irq


# Run touch screen example.
run-touch:
    cargo run -p m5dial-examples --bin touch


# Run clock screen example.
run-clock:
    cargo run -p m5dial-examples --bin clock

run-backlight:
    cargo run -p m5dial-examples --bin backlight
