1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Dylan Laduranty
48b07eb991 bootloaders: fix bootloader button logic
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2023-03-08 13:07:42 +01:00
Gunar Schorcht
421cbc5c29 bootloaders/riotboot_dfu: improve documentation of usage
The `dfu-util` command uses `--device $(DFU_USB_ID)`, where `DFU_USB_ID` is derived from `USB_VID` and `USB_PID` to specify the DFU device to use. Without specifying `USB_VID` and `USB_PID` in the make command, `dfu-util` is called with `--device :`, which only works if there is only one DFU device. Also, the STM32 make system forbids the use of `dfu-util` as programmer without setting the variable `DFU_USB_ID`. Therefore, the documentation is changed to use `USB_VID`/`USB_PID` or `DFU_USB_ID` in the make command.
2022-11-30 19:28:14 +01:00
Dylan Laduranty
ddf633eb99 bootloader/riotboot_dfu: move ztimer_init() prior to usbus start 2022-08-30 20:56:44 +02:00
8d3d012acd
Merge pull request #17248 from benpicco/riotboot_serial-btn
riotboot_serial: enter bootloader mode by pin
2022-01-05 14:14:00 +01:00
Francisco Molina
d0758b5a7e sys/ztimer: remove double ztimer indirection
To avoid confusions between `auto_init_ztimer` and `ztimer_auto_init`
rename `ztimer_auto_init` to `ztimer_init`.

This allows for similar handling as `saul_init_devs` and
`auto_init_devs`. Dependencies are therefore done against the USEMODULE
and not DEFAULT_MODULE or checking DISABLE_MODULE. For this, both
`ztimer_init` and `auto_init_ztimer` are added to DEFAULT_MODULE and
both need disabling if the user does not want that module in.

With this, the comment in Kconfig no longer applies.
2021-11-25 11:26:34 +01:00
Benjamin Valentin
e17cce41b4 bootloaders/riotboot_dfu: move bootloader_selection.h to common place 2021-11-21 23:08:31 +01:00
fa95a39471
bootloaders/riotboot_dfu: Use ztimer instead of ztimer 2021-10-26 14:14:46 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Benjamin Valentin
fedca810cd riotboot: factor out common Makefile parts 2021-07-20 22:51:56 +02:00
Benjamin Valentin
cabe639d04 sys/riotboot: move magic address to common file 2021-07-20 22:51:15 +02:00
dylad
7f00f00df3 bootloaders/riotboot_dfu: update doc now that DFU_ALT gets set 2021-04-03 18:18:57 +02:00
chrysn
e0b1bfbf71 riotboot_dfu: Add user documentation 2021-03-20 21:51:22 +01:00
chrysn
d770917e49 riotboot_dfu: Stay in DFU mode if button is pressed
Boards can override this; by default it's BTN0
2021-03-18 19:32:16 +01:00
Francisco Molina
9a8c26bd34
bootloader/dfu: fix USEMODULE= 2021-02-18 12:47:51 +01:00
chrysn
9c8cbe9aea riotboot_dfu: Use allocated USB IDs
The IDs are not advertised to dfu-util to allow a smooth transition into
having a VID/PID-identifiable riotboot_dfu.

As allocated on https://pid.codes/1209/7D02/.
2021-02-16 09:11:53 +01:00
dylad
e87bb6a0f9 bootloader: create new bootloader application with DFU support 2021-01-12 11:34:22 +01:00