How to upload a software to STM32H745I-DISCO board from PC using ST-Link USB disk feature.
The project is made with STM32CubeIDE. Uploading from it is simple and works.
Then I used CubeProgrammer to upload .hex file. Also works.
But both require installation and configuration on the target PC.
However, the device is seen as an USB disk.

The problem is - the HEX file is too big to fit in there. Is there a workaround for it?
I tried to generate a BIN file, but it's 2GB - why? My whole project doesn't use that much data.
Here:
I need to send the update to someone that has the device, but no ST software installed. What are the options?
My plan B is to send them CubeProgrammer and HEX file.
BTW, HEX file is not the optimal in size. It stores the binary data as text, that use at least 3 times as many bytes as raw data. Why is BIN 2GB? It should be smaller than HEX. Is there any other format that could be used to flash the chip by just copying the file to that special "UBS disk"?
