ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md
raw| 1 | ### Via dfu-util |
| 2 | |
| 3 | This board can programmed via DFU bootloader, using e.g. [dfu-util](http://dfu-util.sourceforge.net/). |
| 4 | To enter the DFU bootloader, double tap the reset (blue) button, or you can use `machine.bootloader()` from the MicroPython REPL. |
| 5 | |
| 6 | ```bash |
| 7 | dfu-util -w -a 0 -d 2341:035b -D build-ARDUINO_PORTENTA_H7/firmware.dfu |
| 8 | ``` |
| 9 | |
| 10 | Or from MicroPython source repository: |
| 11 | |
| 12 | ```bash |
| 13 | make BOARD=ARDUINO_PORTENTA_H7 deploy |
| 14 | ``` |