add udev rule for uvosled pcb
This commit is contained in:
1
90-usbled.rules
Normal file
1
90-usbled.rules
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="fe17", GROUP="uucp"
|
@ -23,3 +23,7 @@ add_definitions("-std=c17 -Wall -O2 -fno-strict-aliasing")
|
|||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME}_test DESTINATION bin)
|
install(TARGETS ${PROJECT_NAME}_test DESTINATION bin)
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME MATCHES "^Linux")
|
||||||
|
set(UDEV_RULES_INSTALL_DIR /lib/udev/rules.d CACHE PATH "install directory for linux udev config")
|
||||||
|
install(FILES 90-usbled.rules DESTINATION ${UDEV_RULES_INSTALL_DIR})
|
||||||
|
endif()
|
||||||
|
Reference in New Issue
Block a user