2020-12-15 17:14:43 +01:00
|
|
|
# Default RIOT bootloader
|
|
|
|
APPLICATION = riotboot_dfu
|
|
|
|
|
|
|
|
# Add RIOTBOOT USB DFU integration
|
2021-02-18 12:47:51 +01:00
|
|
|
USEMODULE += riotboot_usb_dfu
|
2020-12-15 17:14:43 +01:00
|
|
|
|
|
|
|
# Use xtimer for scheduled reboot
|
2021-10-25 22:25:25 +02:00
|
|
|
USEMODULE += ztimer
|
2021-11-24 12:32:24 +01:00
|
|
|
USEMODULE += ztimer_init
|
2020-12-15 17:14:43 +01:00
|
|
|
|
|
|
|
# USB device vendor and product ID
|
|
|
|
# pid.codes test VID/PID, not globally unique
|
|
|
|
|
2021-02-16 08:58:18 +01:00
|
|
|
# The VID/PID pair allocated for the RIOT bootloader
|
|
|
|
# as allocated on https://pid.codes/1209/7D02/
|
|
|
|
USB_VID ?= 1209
|
|
|
|
USB_PID ?= 7D02
|
2020-12-15 17:14:43 +01:00
|
|
|
|
2021-07-04 22:52:09 +02:00
|
|
|
include ../riotboot_common.mk
|