forked from flipperdevices/qFlipper
-
Notifications
You must be signed in to change notification settings - Fork 7
/
dfu.pro
47 lines (39 loc) · 1.08 KB
/
dfu.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
QT -= gui
TEMPLATE = lib
CONFIG += staticlib c++11
include(../qflipper_common.pri)
SOURCES += \
debug.cpp \
device/stm32wb55/fusstate.cpp \
device/stm32wb55/optionbytes.cpp \
device/stm32wb55/stm32wb55.cpp \
dfumemorylayout.cpp \
dfusedevice.cpp \
dfusefile.cpp \
usbdeviceinfo.cpp
HEADERS += \
debug.h \
device/stm32wb55.h \
device/stm32wb55/fusstate.h \
device/stm32wb55/infotable.h \
device/stm32wb55/optionbytes.h \
device/stm32wb55/stm32wb55.h \
device/stm32wb55/versioninfo.h \
dfumemorylayout.h \
dfusedevice.h \
dfusefile.h \
usbdevice.h \
usbdeviceinfo.h
contains(DEFINES, USB_BACKEND_LIBUSB) {
SOURCES += libusb/usbdevice.cpp \
libusb/usbdevicedetector.cpp
HEADERS += libusb/usbdevice.h \
libusb/usbdevicedetector.h
} else:contains(DEFINES, USB_BACKEND_WIN32) {
SOURCES += win32/usbdevice.cpp \
win32/usbdevicedetector.cpp
HEADERS += win32/usbdevice.h \
win32/usbdevicedetector.h
} else {
error("No USB backend configured")
}