summaryrefslogtreecommitdiff
path: root/tools/metrics.py
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2020-02-24 17:20:20 +1100
committerDamien George <damien.p.george@gmail.com>2020-04-18 23:02:00 +1000
commit8ee2e1fdbcf494d39162b38d9a8427aa012fe044 (patch)
tree745dcb3ab86689a654c73b993e114c69fd02cb13 /tools/metrics.py
parent30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b (diff)
stm32/mboot: Expose custom DFU USB VID/PID values at makefile level.
In mboot, the ability to override the USB vendor/product id's was added back in 5688c9ba09ea8f9ffeeb25bd577a08b57828ffa7. However, when the main firmware is turned into a DFU file the default VID/PID are used there. pydfu.py doesn't care about this but dfu-util does and prevents its use when the VID/PID don't match. This commit exposes BOOTLOADER_DFU_USB_VID/PID as make variables, for use on either command line or mpconfigboard.mk, to set VID/PID in both mboot and DFU files.
Diffstat (limited to 'tools/metrics.py')
0 files changed, 0 insertions, 0 deletions