Skip to content

Commit

Permalink
Disable TM2 build as conflict with NCS1
Browse files Browse the repository at this point in the history
NCS1 is reset by realsense-viewer since TM2 device has the same VID/PID with NCS1. Workaround is to build realsense-viewer tool without "BUILD_WITH_TM2". Fix issue: IntelRealSense#2924
  • Loading branch information
yechun1 authored and sharronliu committed Apr 20, 2020
1 parent 6a6e45b commit 2360d12
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ if(${ROS_BUILD_TYPE})
set(BUILD_WITH_TM2 OFF)
endif()

# NCS1 is reset by realsense-viewer since TM2 device has the same VID/PID with NCS1.
# Workaround is to build realsense-viewer tool without "BUILD_WITH_TM2".
# Fix issue: https://github.com/IntelRealSense/librealsense/issues/2924
if(${ROS_BUILD_TYPE})
set(BUILD_WITH_TM2 OFF)
endif()

# Checking Internet connection, as TM2 needs to download the FW from amazon cloud
if(BUILD_WITH_TM2)
include(CMake/tm2_connectivity_check.cmake)
Expand Down

0 comments on commit 2360d12

Please sign in to comment.