Page 1 of 1

How to create a DFU file on our own?

Posted: Mon Mar 16, 2020 12:26 pm
by ndshah88
Hello,

Using the make command we are able to create a .hex file but how can we create a .dfu file?

Can you please explain?

Thanks

Re: How to create a DFU file on our own?

Posted: Mon Mar 16, 2020 4:48 pm
by dhylands
If you run make with V=1 then it will show you the commands it uses to create the .dfu file.

Re: How to create a DFU file on our own?

Posted: Mon Mar 16, 2020 10:03 pm
by jimmo
For the ports that support it (i.e. that have a dfu target)

Code: Select all

make build-BOARD/firmware.dfu
Which port are you using?

Look at ports/stm32/Makefile which has a .dfu target if you need to copy this to another port.

Re: How to create a DFU file on our own?

Posted: Wed Mar 18, 2020 10:17 am
by ndshah88
Thank you for the replies guys!

We were able to build the DFU file.