Enter dfu mode from code

I wanted to know if I can enter DFU Mode from code. I would like to enter it by holding down a “button/pin” in my project that I would mount on the back of the enclosure.

Hmm, how great it would be if we had a search feature in the image
… but wait we have …

… and there it leads us to …

Well I feel dumb now.
Sorry and Thanks

1 Like