Debian Codegraph @

ports/stm32/boards/ARDUINO_OPTA/deploy.md

raw
1 ### Via dfu-util
2
3 This board can be programmed via DFU bootloader, using e.g. [dfu-util](http://dfu-util.sourceforge.net/).
4 To enter the DFU bootloader, double tap the recessed reset button, or you can use `machine.bootloader()` from the MicroPython REPL.
5
6 The Arduino Opta indicates its DFU state by blinking the green LED above the RESET button.
7
8 **NOTE**: The board might remain in DFU mode after the upload, a simple reset will bring the board back to Run-Time.
9
10 ```bash
11 dfu-util -w -a 0 -d 2341:0364 -D build-ARDUINO_OPTA/firmware.dfu
12 ```
13
14 Or from MicroPython source repository, making sure the current directory is `ports/stm32`:
15
16 ```bash
17 make BOARD=ARDUINO_OPTA deploy
18 ```