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:
Uwe Bonnes 2021-10-14 11:45:36 +02:00
parent d144f9d54b
commit b343ebe06f
1 changed files with 1 additions and 1 deletions

View File

@ -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