Trezor firmware on STM32F429I-DISC1
The STM32F429I-DISC1 evaluation board has similar MCU to Trezor Model T as well as compatible touchscreen.
On the board, mini-USB is used to flash the firmware using the integrated ST-Link, as well as power the board. The micro-USB connector is used by the firmware to communicate with the trezor client. I.e. normally you need both cables connected.
Make sure JP1, JP2, JP3, and CN4 are fitted with jumpers (board is in this state by default).
Building and flashing
Follow the normal build instructions however pass
-m d001 to xtask:
# build firmware images
xtask build boardloader -m d001 --bootloader-devel
xtask build bootloader -m d001 --bootloader-devel
xtask build firmware -m d001 --bootloader-devel
# use openocd to flash everything through st-link
xtask flash boardloader -m d001
xtask flash bootlaoder -m d002
xtask flash firmware -m d002
Reset board after command finishes.