mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
bootloaders/riotboot_dfu: update doc now that DFU_ALT gets set
This commit is contained in:
parent
7eae017d5d
commit
7f00f00df3
@ -55,9 +55,8 @@ $ FEATURES_REQUIRED+=riotboot USEMODULE+=usbus_dfu make -C examples/saul BOARD=p
|
||||
```
|
||||
|
||||
Note that when building and flashing a different slot (eg. `flash-slot1`),
|
||||
the DFU utility has to be explicitly prompted to upload it the other slot
|
||||
by adding a `DFU_ALT=1` argument.
|
||||
|
||||
not only is the image built for that slot, but also dfu-util gets passed
|
||||
`--alt 1` (via the `DFU_ALT` build variable) to store it in the right place.
|
||||
# Entering DFU mode
|
||||
|
||||
When RIOT applications are built with `USEMODULE+=usbus_dfu`,
|
||||
|
Loading…
Reference in New Issue
Block a user