cmsis-dap/linux: Link against libhidapi-hidraw
libhidapi-libusb detaches a kernel module but does not reattach again. This may wrack interaction with other programs using hidapi.
This commit is contained in:
parent
d144f9d54b
commit
b343ebe06f
|
@ -18,7 +18,7 @@ CFLAGS += -DHOSTED_BMP_ONLY=$(HOSTED_BMP_ONLY)
|
|||
|
||||
ifneq (, $(findstring linux, $(SYS)))
|
||||
SRC += serial_unix.c
|
||||
HIDAPILIB = hidapi-libusb
|
||||
HIDAPILIB = hidapi-hidraw
|
||||
ifeq ($(ASAN), 1)
|
||||
CFLAGS += -fsanitize=address -Wno-format-truncation
|
||||
LDFLAGS += -lasan
|
||||
|
|
Loading…
Reference in New Issue