Slint Printer Demo for the STM32U5G9J-DK2
=========================================

This archive holds the Slint printer demo, built for the STM32U5G9J-DK2.

What You Need
=============

- STM32U5G9J-DK2
- A USB cable

Flash the Demo
==============

Install probe-rs: https://probe.rs/docs/getting-started/installation/
Connect the board's ST-LINK USB port to your computer and run:

    probe-rs download --chip STM32U5G9ZJTxQ printerdemo-stm32u5g9j-dk2.elf
    probe-rs reset --chip STM32U5G9ZJTxQ

STM32CubeProgrammer can flash the .elf file too.

Build It Yourself
=================

The demo's source is at https://github.com/slint-ui/slint/tree/master/demos/printerdemo_mcu
The build steps are at https://github.com/slint-ui/slint/tree/master/examples/mcu-board-support
