-
Notifications
You must be signed in to change notification settings - Fork 0
/
v3.5.0.001.patch
54 lines (42 loc) · 2.38 KB
/
v3.5.0.001.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -rupN MSPDebugStack_OS_Package_orig/DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp MSPDebugStack_OS_Package/DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
--- MSPDebugStack_OS_Package_orig/DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp 2015-04-22 15:14:30.000000000 +0100
+++ MSPDebugStack_OS_Package/DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp 2015-05-20 13:44:50.105757526 +0100
@@ -38,7 +38,7 @@
#include <pch.h>
#include "HidUpdateManager.h"
-#include <hidapi.h>
+#include <hidapi/hidapi.h>
#include <BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.h>
#include <BSL430_DLL/MSPBSL_Factory.h>
diff -rupN MSPDebugStack_OS_Package_orig/Makefile MSPDebugStack_OS_Package/Makefile
--- MSPDebugStack_OS_Package_orig/Makefile 2015-04-22 13:58:27.000000000 +0100
+++ MSPDebugStack_OS_Package/Makefile 2015-05-20 13:42:51.292429067 +0100
@@ -35,7 +35,7 @@ STATIC_LIBS :=
ifdef STATIC
STATIC_LIBS += -lboost_filesystem -lboost_system -lbsl430
else
-LIBS += -lboost_filesystem -lboost_system -lbsl430
+LIBS += -lboost_filesystem -lboost_system -lbsl430 -lhidapi-libusb
endif
LIBTHIRD := ./ThirdParty/lib64
@@ -124,7 +124,7 @@ SRC := \
OBJS := $(patsubst %.cpp, %.o, $(SRC))
all: $(BSLLIB) $(OBJS)
- $(CXX) $(CXXFLAGS) -shared $(OUTNAME)$(OUTPUT) -o $(OUTPUT) $(OBJS) $(HIDOBJ) $(LIBDIRS) $(BSTATIC) $(STATIC_LIBS) $(BDYNAMIC) $(LIBS)
+ $(CXX) $(CXXFLAGS) -shared $(OUTNAME)$(OUTPUT) -o $(OUTPUT) $(OBJS) $(LIBDIRS) $(BSTATIC) $(STATIC_LIBS) $(BDYNAMIC) $(LIBS)
$(PCH_COMPILED): $(PCH_HEADER)
$(CXX) $(MAKE_PCH) -o $@ $< $(CXXFLAGS) $(INCLUDES) $(DEFINES)
@@ -133,6 +133,7 @@ $(PCH_COMPILED): $(PCH_HEADER)
$(CXX) -c -o $@ $< $(USE_PCH) $(CXXFLAGS) $(INCLUDES) $(DEFINES)
$(BSLLIB):
+ mkdir -p ./ThirdParty/lib
$(MAKE) -C ./ThirdParty/BSL430_DLL
install:
diff -rupN MSPDebugStack_OS_Package_orig/ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h MSPDebugStack_OS_Package/ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
--- MSPDebugStack_OS_Package_orig/ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h 2014-11-21 07:31:13.000000000 +0000
+++ MSPDebugStack_OS_Package/ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h 2015-05-20 13:45:04.272423612 +0100
@@ -38,7 +38,7 @@
#pragma once
-#include <hidapi.h>
+#include <hidapi/hidapi.h>
#include "MSPBSL_PhysicalInterface.h"