mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add a simple cp2130 libusb driver
This adds a simple cp2130 userspace driver. Its probably unusable in the real world but its a great base to build upon. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e0fe8762c2
commit
93ef223a31
6 changed files with 299 additions and 0 deletions
|
@ -18,6 +18,12 @@ if(FTDISUPPORT)
|
|||
set(SERIAL_FTDI serial_ftdi.c)
|
||||
endif()
|
||||
|
||||
if(CP2130SUPPORT)
|
||||
message(STATUS "building with cp2130 support")
|
||||
add_definitions(-DSERIAL_CP2130)
|
||||
set(SERIAL_CP2130 serial_cp2130.c)
|
||||
endif()
|
||||
|
||||
if(BTSUPPORT)
|
||||
add_definitions(-DBT_SUPPORT)
|
||||
set(BT_SRC_FILES desktop-widgets/btdeviceselectiondialog.cpp)
|
||||
|
@ -89,6 +95,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
|
|||
subsurface-qt/CylinderObjectHelper.cpp
|
||||
subsurface-qt/SettingsObjectWrapper.cpp
|
||||
${SERIAL_FTDI}
|
||||
${SERIAL_CP2130}
|
||||
${PLATFORM_SRC}
|
||||
${BT_CORE_SRC_FILES}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue