usb 1.7.2-prebuild

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.github/workflows/prebuild.yml +62 -0
  2. package/.gitmodules +3 -0
  3. package/LICENSE +7 -0
  4. package/Readme.md +339 -0
  5. package/binding.gyp +90 -0
  6. package/libusb/.gitattributes +11 -0
  7. package/libusb/.private/README.txt +5 -0
  8. package/libusb/.private/bd.cmd +89 -0
  9. package/libusb/.private/bm.sh +54 -0
  10. package/libusb/.private/bwince.cmd +57 -0
  11. package/libusb/.private/post-rewrite.sh +28 -0
  12. package/libusb/.private/pre-commit.sh +42 -0
  13. package/libusb/.private/wbs.txt +61 -0
  14. package/libusb/.private/wbs_wince.txt +42 -0
  15. package/libusb/AUTHORS +78 -0
  16. package/libusb/COPYING +504 -0
  17. package/libusb/ChangeLog +211 -0
  18. package/libusb/INSTALL +234 -0
  19. package/libusb/INSTALL_WIN.txt +73 -0
  20. package/libusb/Makefile.am +28 -0
  21. package/libusb/NEWS +2 -0
  22. package/libusb/PORTING +94 -0
  23. package/libusb/README +28 -0
  24. package/libusb/README.git +41 -0
  25. package/libusb/TODO +2 -0
  26. package/libusb/Xcode/common.xcconfig +49 -0
  27. package/libusb/Xcode/debug.xcconfig +29 -0
  28. package/libusb/Xcode/libusb.xcconfig +21 -0
  29. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
  30. package/libusb/Xcode/libusb_debug.xcconfig +21 -0
  31. package/libusb/Xcode/libusb_release.xcconfig +21 -0
  32. package/libusb/Xcode/release.xcconfig +30 -0
  33. package/libusb/android/README +114 -0
  34. package/libusb/android/jni/Android.mk +23 -0
  35. package/libusb/android/jni/Application.mk +24 -0
  36. package/libusb/android/jni/examples.mk +134 -0
  37. package/libusb/android/jni/libusb.mk +54 -0
  38. package/libusb/android/jni/tests.mk +56 -0
  39. package/libusb/autogen.sh +8 -0
  40. package/libusb/bootstrap.sh +19 -0
  41. package/libusb/configure.ac +304 -0
  42. package/libusb/doc/Makefile.am +9 -0
  43. package/libusb/doc/doxygen.cfg.in +1288 -0
  44. package/libusb/doc/libusb.png +0 -0
  45. package/libusb/examples/Makefile.am +19 -0
  46. package/libusb/examples/dpfp.c +506 -0
  47. package/libusb/examples/dpfp_threaded.c +544 -0
  48. package/libusb/examples/ezusb.c +831 -0
  49. package/libusb/examples/ezusb.h +120 -0
  50. package/libusb/examples/fxload.c +287 -0
  51. package/libusb/examples/getopt/getopt.c +1060 -0
  52. package/libusb/examples/getopt/getopt.h +180 -0
  53. package/libusb/examples/getopt/getopt1.c +188 -0
  54. package/libusb/examples/hotplugtest.c +104 -0
  55. package/libusb/examples/listdevs.c +71 -0
  56. package/libusb/examples/sam3u_benchmark.c +193 -0
  57. package/libusb/examples/xusb.c +1129 -0
  58. package/libusb/libusb/Makefile.am +75 -0
  59. package/libusb/libusb/core.c +2342 -0
  60. package/libusb/libusb/descriptor.c +1199 -0
  61. package/libusb/libusb/hotplug.c +327 -0
  62. package/libusb/libusb/hotplug.h +82 -0
  63. package/libusb/libusb/io.c +2631 -0
  64. package/libusb/libusb/libusb-1.0.def +166 -0
  65. package/libusb/libusb/libusb-1.0.rc +61 -0
  66. package/libusb/libusb/libusb.h +1998 -0
  67. package/libusb/libusb/libusbi.h +1040 -0
  68. package/libusb/libusb/os/darwin_usb.c +2009 -0
  69. package/libusb/libusb/os/darwin_usb.h +162 -0
  70. package/libusb/libusb/os/linux_netlink.c +369 -0
  71. package/libusb/libusb/os/linux_udev.c +307 -0
  72. package/libusb/libusb/os/linux_usbfs.c +2695 -0
  73. package/libusb/libusb/os/linux_usbfs.h +192 -0
  74. package/libusb/libusb/os/netbsd_usb.c +738 -0
  75. package/libusb/libusb/os/openbsd_usb.c +832 -0
  76. package/libusb/libusb/os/poll_posix.c +51 -0
  77. package/libusb/libusb/os/poll_posix.h +11 -0
  78. package/libusb/libusb/os/poll_windows.c +796 -0
  79. package/libusb/libusb/os/poll_windows.h +131 -0
  80. package/libusb/libusb/os/threads_posix.c +82 -0
  81. package/libusb/libusb/os/threads_posix.h +50 -0
  82. package/libusb/libusb/os/threads_windows.c +212 -0
  83. package/libusb/libusb/os/threads_windows.h +87 -0
  84. package/libusb/libusb/os/wince_usb.c +1032 -0
  85. package/libusb/libusb/os/wince_usb.h +131 -0
  86. package/libusb/libusb/os/windows_common.h +108 -0
  87. package/libusb/libusb/os/windows_usb.c +5347 -0
  88. package/libusb/libusb/os/windows_usb.h +971 -0
  89. package/libusb/libusb/strerror.c +199 -0
  90. package/libusb/libusb/sync.c +307 -0
  91. package/libusb/libusb/version.h +18 -0
  92. package/libusb/libusb/version_nano.h +1 -0
  93. package/libusb/libusb-1.0.pc.in +11 -0
  94. package/libusb/msvc/config.h +50 -0
  95. package/libusb/msvc/ddk_build.cmd +175 -0
  96. package/libusb/msvc/errno.h +102 -0
  97. package/libusb/msvc/fxload_2010.vcxproj +170 -0
  98. package/libusb/msvc/fxload_2010.vcxproj.filters +25 -0
  99. package/libusb/msvc/fxload_2012.vcxproj +174 -0
  100. package/libusb/msvc/fxload_2012.vcxproj.filters +25 -0
  101. package/libusb/msvc/fxload_2013.vcxproj +174 -0
  102. package/libusb/msvc/fxload_sources +23 -0
  103. package/libusb/msvc/getopt_2005.vcproj +288 -0
  104. package/libusb/msvc/getopt_2010.vcxproj +131 -0
  105. package/libusb/msvc/getopt_2010.vcxproj.filters +26 -0
  106. package/libusb/msvc/getopt_2012.vcxproj +136 -0
  107. package/libusb/msvc/getopt_2012.vcxproj.filters +26 -0
  108. package/libusb/msvc/getopt_2013.vcxproj +136 -0
  109. package/libusb/msvc/getopt_sources +20 -0
  110. package/libusb/msvc/hotplugtest_2010.vcxproj +163 -0
  111. package/libusb/msvc/hotplugtest_2010.vcxproj.filters +14 -0
  112. package/libusb/msvc/hotplugtest_2012.vcxproj +167 -0
  113. package/libusb/msvc/hotplugtest_2012.vcxproj.filters +14 -0
  114. package/libusb/msvc/hotplugtest_2013.vcxproj +167 -0
  115. package/libusb/msvc/hotplugtest_sources +20 -0
  116. package/libusb/msvc/inttypes.h +295 -0
  117. package/libusb/msvc/libusb.dsw +71 -0
  118. package/libusb/msvc/libusb_2005.sln +95 -0
  119. package/libusb/msvc/libusb_2010.sln +94 -0
  120. package/libusb/msvc/libusb_2012.sln +94 -0
  121. package/libusb/msvc/libusb_2013.sln +100 -0
  122. package/libusb/msvc/libusb_2015.sln +100 -0
  123. package/libusb/msvc/libusb_dll.dsp +194 -0
  124. package/libusb/msvc/libusb_dll_2005.vcproj +436 -0
  125. package/libusb/msvc/libusb_dll_2010.vcxproj +170 -0
  126. package/libusb/msvc/libusb_dll_2010.vcxproj.filters +81 -0
  127. package/libusb/msvc/libusb_dll_2012.vcxproj +175 -0
  128. package/libusb/msvc/libusb_dll_2012.vcxproj.filters +84 -0
  129. package/libusb/msvc/libusb_dll_2013.vcxproj +175 -0
  130. package/libusb/msvc/libusb_dll_wince.vcproj +1243 -0
  131. package/libusb/msvc/libusb_sources +38 -0
  132. package/libusb/msvc/libusb_static.dsp +174 -0
  133. package/libusb/msvc/libusb_static_2005.vcproj +362 -0
  134. package/libusb/msvc/libusb_static_2010.vcxproj +156 -0
  135. package/libusb/msvc/libusb_static_2010.vcxproj.filters +74 -0
  136. package/libusb/msvc/libusb_static_2012.vcxproj +160 -0
  137. package/libusb/msvc/libusb_static_2012.vcxproj.filters +74 -0
  138. package/libusb/msvc/libusb_static_2013.vcxproj +160 -0
  139. package/libusb/msvc/libusb_static_wince.vcproj +1185 -0
  140. package/libusb/msvc/libusb_wince.sln +246 -0
  141. package/libusb/msvc/listdevs.dsp +103 -0
  142. package/libusb/msvc/listdevs_2005.vcproj +360 -0
  143. package/libusb/msvc/listdevs_2010.vcxproj +165 -0
  144. package/libusb/msvc/listdevs_2010.vcxproj.filters +14 -0
  145. package/libusb/msvc/listdevs_2012.vcxproj +169 -0
  146. package/libusb/msvc/listdevs_2012.vcxproj.filters +14 -0
  147. package/libusb/msvc/listdevs_2013.vcxproj +169 -0
  148. package/libusb/msvc/listdevs_sources +19 -0
  149. package/libusb/msvc/listdevs_wince.vcproj +1120 -0
  150. package/libusb/msvc/missing.c +80 -0
  151. package/libusb/msvc/missing.h +32 -0
  152. package/libusb/msvc/stdint.h +256 -0
  153. package/libusb/msvc/stress_2005.vcproj +390 -0
  154. package/libusb/msvc/stress_2010.vcxproj +167 -0
  155. package/libusb/msvc/stress_2010.vcxproj.filters +25 -0
  156. package/libusb/msvc/stress_2012.vcxproj +171 -0
  157. package/libusb/msvc/stress_2012.vcxproj.filters +25 -0
  158. package/libusb/msvc/stress_2013.vcxproj +171 -0
  159. package/libusb/msvc/stress_wince.vcproj +1128 -0
  160. package/libusb/msvc/xusb.dsp +102 -0
  161. package/libusb/msvc/xusb_2005.vcproj +344 -0
  162. package/libusb/msvc/xusb_2010.vcxproj +163 -0
  163. package/libusb/msvc/xusb_2010.vcxproj.filters +14 -0
  164. package/libusb/msvc/xusb_2012.vcxproj +167 -0
  165. package/libusb/msvc/xusb_2012.vcxproj.filters +14 -0
  166. package/libusb/msvc/xusb_2013.vcxproj +167 -0
  167. package/libusb/msvc/xusb_sources +20 -0
  168. package/libusb/msvc/xusb_wince.vcproj +1120 -0
  169. package/libusb/tests/Makefile.am +6 -0
  170. package/libusb/tests/libusb_testlib.h +107 -0
  171. package/libusb/tests/stress.c +160 -0
  172. package/libusb/tests/testlib.c +281 -0
  173. package/libusb.gypi +136 -0
  174. package/libusb_config/config.h +1 -0
  175. package/package.json +69 -0
  176. package/src/device.cc +412 -0
  177. package/src/helpers.h +64 -0
  178. package/src/node_usb.cc +319 -0
  179. package/src/node_usb.h +120 -0
  180. package/src/transfer.cc +148 -0
  181. package/src/uv_async_queue.h +33 -0
  182. package/test/usb.coffee +191 -0
  183. package/usb.js +524 -0
@@ -0,0 +1,174 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectName>fxload</ProjectName>
23
+ <ProjectGuid>{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}</ProjectGuid>
24
+ <RootNamespace>examples</RootNamespace>
25
+ <Keyword>Win32Proj</Keyword>
26
+ </PropertyGroup>
27
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29
+ <ConfigurationType>Application</ConfigurationType>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <WholeProgramOptimization>true</WholeProgramOptimization>
32
+ <PlatformToolset>v120</PlatformToolset>
33
+ </PropertyGroup>
34
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
35
+ <ConfigurationType>Application</ConfigurationType>
36
+ <CharacterSet>Unicode</CharacterSet>
37
+ <PlatformToolset>v120</PlatformToolset>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <CharacterSet>Unicode</CharacterSet>
42
+ <WholeProgramOptimization>true</WholeProgramOptimization>
43
+ <PlatformToolset>v120</PlatformToolset>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <CharacterSet>Unicode</CharacterSet>
48
+ <PlatformToolset>v120</PlatformToolset>
49
+ </PropertyGroup>
50
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
51
+ <ImportGroup Label="ExtensionSettings">
52
+ </ImportGroup>
53
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
54
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55
+ </ImportGroup>
56
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
57
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58
+ </ImportGroup>
59
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
60
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+ </ImportGroup>
62
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
63
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64
+ </ImportGroup>
65
+ <PropertyGroup Label="UserMacros" />
66
+ <PropertyGroup>
67
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
68
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
69
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
70
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
71
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
72
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
73
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
74
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
75
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
76
+ </PropertyGroup>
77
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
78
+ <BuildLog>
79
+ <Path>$(IntDir)$(ProjectName).htm</Path>
80
+ </BuildLog>
81
+ <ClCompile>
82
+ <Optimization>Disabled</Optimization>
83
+ <AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
84
+ <PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85
+ <MinimalRebuild>true</MinimalRebuild>
86
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
87
+ <WarningLevel>Level3</WarningLevel>
88
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
89
+ </ClCompile>
90
+ <Link>
91
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
92
+ <GenerateDebugInformation>true</GenerateDebugInformation>
93
+ <SubSystem>Console</SubSystem>
94
+ <TargetMachine>MachineX86</TargetMachine>
95
+ </Link>
96
+ </ItemDefinitionGroup>
97
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
98
+ <BuildLog>
99
+ <Path>$(IntDir)$(ProjectName).htm</Path>
100
+ </BuildLog>
101
+ <Midl>
102
+ <TargetEnvironment>X64</TargetEnvironment>
103
+ </Midl>
104
+ <ClCompile>
105
+ <Optimization>Disabled</Optimization>
106
+ <AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
107
+ <PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108
+ <MinimalRebuild>true</MinimalRebuild>
109
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
110
+ <WarningLevel>Level3</WarningLevel>
111
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
112
+ </ClCompile>
113
+ <Link>
114
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
115
+ <GenerateDebugInformation>true</GenerateDebugInformation>
116
+ <SubSystem>Console</SubSystem>
117
+ <TargetMachine>MachineX64</TargetMachine>
118
+ </Link>
119
+ </ItemDefinitionGroup>
120
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
121
+ <BuildLog>
122
+ <Path>$(IntDir)$(ProjectName).htm</Path>
123
+ </BuildLog>
124
+ <ClCompile>
125
+ <AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126
+ <PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
128
+ <WarningLevel>Level3</WarningLevel>
129
+ </ClCompile>
130
+ <Link>
131
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
132
+ <SubSystem>Console</SubSystem>
133
+ <TargetMachine>MachineX86</TargetMachine>
134
+ </Link>
135
+ </ItemDefinitionGroup>
136
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
137
+ <BuildLog>
138
+ <Path>$(IntDir)$(ProjectName).htm</Path>
139
+ </BuildLog>
140
+ <Midl>
141
+ <TargetEnvironment>X64</TargetEnvironment>
142
+ </Midl>
143
+ <ClCompile>
144
+ <AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145
+ <PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
147
+ <WarningLevel>Level3</WarningLevel>
148
+ </ClCompile>
149
+ <Link>
150
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
151
+ <SubSystem>Console</SubSystem>
152
+ <TargetMachine>MachineX64</TargetMachine>
153
+ </Link>
154
+ </ItemDefinitionGroup>
155
+ <ItemGroup>
156
+ <ClCompile Include="..\examples\ezusb.c" />
157
+ <ClCompile Include="..\examples\fxload.c" />
158
+ </ItemGroup>
159
+ <ItemGroup>
160
+ <ProjectReference Include=".\libusb_static_2013.vcxproj">
161
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
162
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
163
+ </ProjectReference>
164
+ <ProjectReference Include="getopt_2013.vcxproj">
165
+ <Project>{ae83e1b4-ce06-47ee-b7a3-c3a1d7c2d71e}</Project>
166
+ </ProjectReference>
167
+ </ItemGroup>
168
+ <ItemGroup>
169
+ <ClInclude Include="..\examples\ezusb.h" />
170
+ </ItemGroup>
171
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
172
+ <ImportGroup Label="ExtensionTargets">
173
+ </ImportGroup>
174
+ </Project>
@@ -0,0 +1,23 @@
1
+ TARGETNAME=fxload
2
+ TARGETTYPE=PROGRAM
3
+ 386_STDCALL=0
4
+
5
+ _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP)
6
+
7
+ !IFNDEF MSC_WARNING_LEVEL
8
+ MSC_WARNING_LEVEL=/W3
9
+ !ENDIF
10
+
11
+ !IFDEF STATIC_LIBC
12
+ USE_LIBCMT=1
13
+ !ELSE
14
+ USE_MSVCRT=1
15
+ !ENDIF
16
+
17
+ UMTYPE=console
18
+ INCLUDES=..\..\msvc;..\..\libusb;..\getopt;$(DDK_INC_PATH)
19
+ C_DEFINES=$(C_DEFINES) /D__GNU_LIBRARY__
20
+ UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib \
21
+ ..\getopt\getopt_ddkbuild\obj$(BUILD_ALT_DIR)\*\getopt.lib
22
+ SOURCES=..\ezusb.c \
23
+ ..\fxload.c
@@ -0,0 +1,288 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="9.00"
5
+ Name="getopt"
6
+ ProjectGUID="{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}"
7
+ RootNamespace="getopt"
8
+ TargetFrameworkVersion="196613"
9
+ >
10
+ <Platforms>
11
+ <Platform
12
+ Name="Win32"
13
+ />
14
+ <Platform
15
+ Name="x64"
16
+ />
17
+ </Platforms>
18
+ <ToolFiles>
19
+ </ToolFiles>
20
+ <Configurations>
21
+ <Configuration
22
+ Name="Debug|Win32"
23
+ OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib"
24
+ IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\getopt"
25
+ ConfigurationType="4"
26
+ CharacterSet="1"
27
+ >
28
+ <Tool
29
+ Name="VCPreBuildEventTool"
30
+ />
31
+ <Tool
32
+ Name="VCCustomBuildTool"
33
+ />
34
+ <Tool
35
+ Name="VCXMLDataGeneratorTool"
36
+ />
37
+ <Tool
38
+ Name="VCWebServiceProxyGeneratorTool"
39
+ />
40
+ <Tool
41
+ Name="VCMIDLTool"
42
+ />
43
+ <Tool
44
+ Name="VCCLCompilerTool"
45
+ PreprocessorDefinitions="HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS"
46
+ MinimalRebuild="true"
47
+ RuntimeLibrary="1"
48
+ WarningLevel="3"
49
+ DebugInformationFormat="3"
50
+ />
51
+ <Tool
52
+ Name="VCManagedResourceCompilerTool"
53
+ />
54
+ <Tool
55
+ Name="VCResourceCompilerTool"
56
+ />
57
+ <Tool
58
+ Name="VCPreLinkEventTool"
59
+ />
60
+ <Tool
61
+ Name="VCLibrarianTool"
62
+ IgnoreAllDefaultLibraries="true"
63
+ />
64
+ <Tool
65
+ Name="VCALinkTool"
66
+ />
67
+ <Tool
68
+ Name="VCXDCMakeTool"
69
+ />
70
+ <Tool
71
+ Name="VCBscMakeTool"
72
+ />
73
+ <Tool
74
+ Name="VCFxCopTool"
75
+ />
76
+ <Tool
77
+ Name="VCPostBuildEventTool"
78
+ />
79
+ </Configuration>
80
+ <Configuration
81
+ Name="Debug|x64"
82
+ OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib"
83
+ IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\getopt"
84
+ ConfigurationType="4"
85
+ CharacterSet="1"
86
+ >
87
+ <Tool
88
+ Name="VCPreBuildEventTool"
89
+ />
90
+ <Tool
91
+ Name="VCCustomBuildTool"
92
+ />
93
+ <Tool
94
+ Name="VCXMLDataGeneratorTool"
95
+ />
96
+ <Tool
97
+ Name="VCWebServiceProxyGeneratorTool"
98
+ />
99
+ <Tool
100
+ Name="VCMIDLTool"
101
+ TargetEnvironment="3"
102
+ />
103
+ <Tool
104
+ Name="VCCLCompilerTool"
105
+ PreprocessorDefinitions="HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS"
106
+ RuntimeLibrary="1"
107
+ WarningLevel="3"
108
+ DebugInformationFormat="3"
109
+ />
110
+ <Tool
111
+ Name="VCManagedResourceCompilerTool"
112
+ />
113
+ <Tool
114
+ Name="VCResourceCompilerTool"
115
+ />
116
+ <Tool
117
+ Name="VCPreLinkEventTool"
118
+ />
119
+ <Tool
120
+ Name="VCLibrarianTool"
121
+ IgnoreAllDefaultLibraries="true"
122
+ />
123
+ <Tool
124
+ Name="VCALinkTool"
125
+ />
126
+ <Tool
127
+ Name="VCXDCMakeTool"
128
+ />
129
+ <Tool
130
+ Name="VCBscMakeTool"
131
+ />
132
+ <Tool
133
+ Name="VCFxCopTool"
134
+ />
135
+ <Tool
136
+ Name="VCPostBuildEventTool"
137
+ />
138
+ </Configuration>
139
+ <Configuration
140
+ Name="Release|Win32"
141
+ OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib"
142
+ IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\getopt"
143
+ ConfigurationType="4"
144
+ CharacterSet="1"
145
+ WholeProgramOptimization="1"
146
+ >
147
+ <Tool
148
+ Name="VCPreBuildEventTool"
149
+ />
150
+ <Tool
151
+ Name="VCCustomBuildTool"
152
+ />
153
+ <Tool
154
+ Name="VCXMLDataGeneratorTool"
155
+ />
156
+ <Tool
157
+ Name="VCWebServiceProxyGeneratorTool"
158
+ />
159
+ <Tool
160
+ Name="VCMIDLTool"
161
+ />
162
+ <Tool
163
+ Name="VCCLCompilerTool"
164
+ Optimization="2"
165
+ PreprocessorDefinitions="HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS"
166
+ RuntimeLibrary="0"
167
+ WarningLevel="3"
168
+ />
169
+ <Tool
170
+ Name="VCManagedResourceCompilerTool"
171
+ />
172
+ <Tool
173
+ Name="VCResourceCompilerTool"
174
+ />
175
+ <Tool
176
+ Name="VCPreLinkEventTool"
177
+ />
178
+ <Tool
179
+ Name="VCLibrarianTool"
180
+ IgnoreAllDefaultLibraries="true"
181
+ />
182
+ <Tool
183
+ Name="VCALinkTool"
184
+ />
185
+ <Tool
186
+ Name="VCXDCMakeTool"
187
+ />
188
+ <Tool
189
+ Name="VCBscMakeTool"
190
+ />
191
+ <Tool
192
+ Name="VCFxCopTool"
193
+ />
194
+ <Tool
195
+ Name="VCPostBuildEventTool"
196
+ />
197
+ </Configuration>
198
+ <Configuration
199
+ Name="Release|x64"
200
+ OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib"
201
+ IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\getopt"
202
+ ConfigurationType="4"
203
+ CharacterSet="1"
204
+ WholeProgramOptimization="1"
205
+ >
206
+ <Tool
207
+ Name="VCPreBuildEventTool"
208
+ />
209
+ <Tool
210
+ Name="VCCustomBuildTool"
211
+ />
212
+ <Tool
213
+ Name="VCXMLDataGeneratorTool"
214
+ />
215
+ <Tool
216
+ Name="VCWebServiceProxyGeneratorTool"
217
+ />
218
+ <Tool
219
+ Name="VCMIDLTool"
220
+ TargetEnvironment="3"
221
+ />
222
+ <Tool
223
+ Name="VCCLCompilerTool"
224
+ PreprocessorDefinitions="HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS"
225
+ RuntimeLibrary="0"
226
+ WarningLevel="3"
227
+ />
228
+ <Tool
229
+ Name="VCManagedResourceCompilerTool"
230
+ />
231
+ <Tool
232
+ Name="VCResourceCompilerTool"
233
+ />
234
+ <Tool
235
+ Name="VCPreLinkEventTool"
236
+ />
237
+ <Tool
238
+ Name="VCLibrarianTool"
239
+ IgnoreAllDefaultLibraries="true"
240
+ />
241
+ <Tool
242
+ Name="VCALinkTool"
243
+ />
244
+ <Tool
245
+ Name="VCXDCMakeTool"
246
+ />
247
+ <Tool
248
+ Name="VCBscMakeTool"
249
+ />
250
+ <Tool
251
+ Name="VCFxCopTool"
252
+ />
253
+ <Tool
254
+ Name="VCPostBuildEventTool"
255
+ />
256
+ </Configuration>
257
+ </Configurations>
258
+ <References>
259
+ </References>
260
+ <Files>
261
+ <Filter
262
+ Name="Source Files"
263
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
264
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
265
+ >
266
+ <File
267
+ RelativePath="..\examples\getopt\getopt.c"
268
+ >
269
+ </File>
270
+ <File
271
+ RelativePath="..\examples\getopt\getopt1.c"
272
+ >
273
+ </File>
274
+ </Filter>
275
+ <Filter
276
+ Name="Header Files"
277
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
278
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
279
+ >
280
+ <File
281
+ RelativePath="..\examples\getopt\getopt.h"
282
+ >
283
+ </File>
284
+ </Filter>
285
+ </Files>
286
+ <Globals>
287
+ </Globals>
288
+ </VisualStudioProject>
@@ -0,0 +1,131 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}</ProjectGuid>
23
+ <RootNamespace>getopt</RootNamespace>
24
+ </PropertyGroup>
25
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27
+ <ConfigurationType>StaticLibrary</ConfigurationType>
28
+ <CharacterSet>Unicode</CharacterSet>
29
+ <WholeProgramOptimization>true</WholeProgramOptimization>
30
+ </PropertyGroup>
31
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32
+ <ConfigurationType>StaticLibrary</ConfigurationType>
33
+ <CharacterSet>Unicode</CharacterSet>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
36
+ <ConfigurationType>StaticLibrary</ConfigurationType>
37
+ <CharacterSet>Unicode</CharacterSet>
38
+ <WholeProgramOptimization>true</WholeProgramOptimization>
39
+ </PropertyGroup>
40
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41
+ <ConfigurationType>StaticLibrary</ConfigurationType>
42
+ <CharacterSet>Unicode</CharacterSet>
43
+ </PropertyGroup>
44
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45
+ <ImportGroup Label="ExtensionSettings">
46
+ </ImportGroup>
47
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49
+ </ImportGroup>
50
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
51
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
52
+ </ImportGroup>
53
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
54
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55
+ </ImportGroup>
56
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
57
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58
+ </ImportGroup>
59
+ <PropertyGroup Label="UserMacros" />
60
+ <PropertyGroup>
61
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
62
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
63
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\getopt\</IntDir>
64
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
65
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\getopt\</IntDir>
66
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
67
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\getopt\</IntDir>
68
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
69
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\getopt\</IntDir>
70
+ </PropertyGroup>
71
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <ClCompile>
73
+ <PreprocessorDefinitions>HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
74
+ <MinimalRebuild>true</MinimalRebuild>
75
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
76
+ <WarningLevel>Level3</WarningLevel>
77
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
78
+ </ClCompile>
79
+ <Lib>
80
+ <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
81
+ </Lib>
82
+ </ItemDefinitionGroup>
83
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
84
+ <Midl>
85
+ <TargetEnvironment>X64</TargetEnvironment>
86
+ </Midl>
87
+ <ClCompile>
88
+ <PreprocessorDefinitions>HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
90
+ <WarningLevel>Level3</WarningLevel>
91
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
92
+ </ClCompile>
93
+ <Lib>
94
+ <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
95
+ </Lib>
96
+ </ItemDefinitionGroup>
97
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
98
+ <ClCompile>
99
+ <Optimization>MaxSpeed</Optimization>
100
+ <PreprocessorDefinitions>HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
102
+ <WarningLevel>Level3</WarningLevel>
103
+ </ClCompile>
104
+ <Lib>
105
+ <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
106
+ </Lib>
107
+ </ItemDefinitionGroup>
108
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
109
+ <Midl>
110
+ <TargetEnvironment>X64</TargetEnvironment>
111
+ </Midl>
112
+ <ClCompile>
113
+ <PreprocessorDefinitions>HAVE_STRING_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
115
+ <WarningLevel>Level3</WarningLevel>
116
+ </ClCompile>
117
+ <Lib>
118
+ <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
119
+ </Lib>
120
+ </ItemDefinitionGroup>
121
+ <ItemGroup>
122
+ <ClCompile Include="..\examples\getopt\getopt.c" />
123
+ <ClCompile Include="..\examples\getopt\getopt1.c" />
124
+ </ItemGroup>
125
+ <ItemGroup>
126
+ <ClInclude Include="..\examples\getopt\getopt.h" />
127
+ </ItemGroup>
128
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
129
+ <ImportGroup Label="ExtensionTargets">
130
+ </ImportGroup>
131
+ </Project>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <Filter Include="Source Files">
5
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+ </Filter>
8
+ <Filter Include="Header Files">
9
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+ </Filter>
12
+ </ItemGroup>
13
+ <ItemGroup>
14
+ <ClCompile Include="..\examples\getopt\getopt.c">
15
+ <Filter>Source Files</Filter>
16
+ </ClCompile>
17
+ <ClCompile Include="..\examples\getopt\getopt1.c">
18
+ <Filter>Source Files</Filter>
19
+ </ClCompile>
20
+ </ItemGroup>
21
+ <ItemGroup>
22
+ <ClInclude Include="..\examples\getopt\getopt.h">
23
+ <Filter>Header Files</Filter>
24
+ </ClInclude>
25
+ </ItemGroup>
26
+ </Project>