1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/bootloaders/riotboot_dfu/Makefile
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

20 lines
445 B
Makefile

# Default RIOT bootloader
APPLICATION = riotboot_dfu
# Add RIOTBOOT USB DFU integration
USEMODULE += riotboot_usb_dfu
# Use xtimer for scheduled reboot
USEMODULE += ztimer
USEMODULE += ztimer_init
# USB device vendor and product ID
# pid.codes test VID/PID, not globally unique
# The VID/PID pair allocated for the RIOT bootloader
# as allocated on https://pid.codes/1209/7D02/
USB_VID ?= 1209
USB_PID ?= 7D02
include ../riotboot_common.mk