usb 2.17.0 → 3.0.0-alpha.2
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.
- package/LICENSE +18 -4
- package/README.md +25 -516
- package/dist/index.d.ts +67 -13
- package/dist/index.js +333 -64
- package/index.d.ts +89 -0
- package/index.js +583 -0
- package/package.json +53 -33
- package/CHANGELOG.md +0 -294
- package/binding.gyp +0 -128
- package/dist/index.js.map +0 -1
- package/dist/usb/bindings.d.ts +0 -266
- package/dist/usb/bindings.js +0 -10
- package/dist/usb/bindings.js.map +0 -1
- package/dist/usb/capability.d.ts +0 -13
- package/dist/usb/capability.js +0 -17
- package/dist/usb/capability.js.map +0 -1
- package/dist/usb/descriptors.d.ts +0 -128
- package/dist/usb/descriptors.js +0 -3
- package/dist/usb/descriptors.js.map +0 -1
- package/dist/usb/device.d.ts +0 -100
- package/dist/usb/device.js +0 -297
- package/dist/usb/device.js.map +0 -1
- package/dist/usb/endpoint.d.ts +0 -94
- package/dist/usb/endpoint.js +0 -219
- package/dist/usb/endpoint.js.map +0 -1
- package/dist/usb/index.d.ts +0 -31
- package/dist/usb/index.js +0 -116
- package/dist/usb/index.js.map +0 -1
- package/dist/usb/interface.d.ts +0 -80
- package/dist/usb/interface.js +0 -133
- package/dist/usb/interface.js.map +0 -1
- package/dist/webusb/index.d.ts +0 -64
- package/dist/webusb/index.js +0 -295
- package/dist/webusb/index.js.map +0 -1
- package/dist/webusb/webusb-device.d.ts +0 -54
- package/dist/webusb/webusb-device.js +0 -434
- package/dist/webusb/webusb-device.js.map +0 -1
- package/libusb/.clang-tidy +0 -34
- package/libusb/.codespellrc +0 -3
- package/libusb/.private/README.txt +0 -5
- package/libusb/.private/appveyor_build.sh +0 -26
- package/libusb/.private/bm.sh +0 -54
- package/libusb/.private/ci-build.sh +0 -92
- package/libusb/.private/ci-container-build.sh +0 -67
- package/libusb/.private/post-rewrite.sh +0 -32
- package/libusb/.private/pre-commit.sh +0 -52
- package/libusb/.private/wbs.txt +0 -43
- package/libusb/.travis.yml +0 -58
- package/libusb/AUTHORS +0 -231
- package/libusb/COPYING +0 -504
- package/libusb/ChangeLog +0 -365
- package/libusb/HACKING +0 -25
- package/libusb/INSTALL_WIN.txt +0 -52
- package/libusb/KEYS +0 -123
- package/libusb/Makefile.am +0 -50
- package/libusb/NEWS +0 -2
- package/libusb/PORTING +0 -94
- package/libusb/README +0 -29
- package/libusb/README.git +0 -41
- package/libusb/TODO +0 -2
- package/libusb/Xcode/common.xcconfig +0 -92
- package/libusb/Xcode/config.h +0 -31
- package/libusb/Xcode/debug.xcconfig +0 -32
- package/libusb/Xcode/libusb.xcconfig +0 -21
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +0 -1391
- package/libusb/Xcode/libusb_debug.xcconfig +0 -21
- package/libusb/Xcode/libusb_release.xcconfig +0 -21
- package/libusb/Xcode/release.xcconfig +0 -30
- package/libusb/android/README +0 -152
- package/libusb/android/config.h +0 -55
- package/libusb/android/examples/unrooted_android.c +0 -301
- package/libusb/android/examples/unrooted_android.h +0 -36
- package/libusb/android/jni/Android.mk +0 -23
- package/libusb/android/jni/Application.mk +0 -40
- package/libusb/android/jni/examples.mk +0 -168
- package/libusb/android/jni/libusb.mk +0 -60
- package/libusb/android/jni/tests.mk +0 -45
- package/libusb/appveyor.yml +0 -108
- package/libusb/autogen.sh +0 -10
- package/libusb/bootstrap.sh +0 -10
- package/libusb/configure.ac +0 -450
- package/libusb/doc/Makefile.in +0 -22
- package/libusb/doc/doxygen.cfg.in +0 -2571
- package/libusb/doc/libusb.png +0 -0
- package/libusb/examples/Makefile.am +0 -12
- package/libusb/examples/dpfp.c +0 -711
- package/libusb/examples/ezusb.c +0 -846
- package/libusb/examples/ezusb.h +0 -109
- package/libusb/examples/fxload.c +0 -310
- package/libusb/examples/hotplugtest.c +0 -147
- package/libusb/examples/listdevs.c +0 -73
- package/libusb/examples/sam3u_benchmark.c +0 -228
- package/libusb/examples/testlibusb.c +0 -312
- package/libusb/examples/xusb.c +0 -1254
- package/libusb/libusb/Makefile.am +0 -98
- package/libusb/libusb/Makefile.am.extra +0 -26
- package/libusb/libusb/core.c +0 -2925
- package/libusb/libusb/descriptor.c +0 -1558
- package/libusb/libusb/hotplug.c +0 -489
- package/libusb/libusb/io.c +0 -2865
- package/libusb/libusb/libusb-1.0.def +0 -199
- package/libusb/libusb/libusb-1.0.rc +0 -53
- package/libusb/libusb/libusb.h +0 -2421
- package/libusb/libusb/libusbi.h +0 -1535
- package/libusb/libusb/os/darwin_usb.c +0 -2977
- package/libusb/libusb/os/darwin_usb.h +0 -156
- package/libusb/libusb/os/emscripten_webusb.cpp +0 -875
- package/libusb/libusb/os/events_posix.c +0 -340
- package/libusb/libusb/os/events_posix.h +0 -62
- package/libusb/libusb/os/events_windows.c +0 -214
- package/libusb/libusb/os/events_windows.h +0 -46
- package/libusb/libusb/os/haiku_pollfs.cpp +0 -372
- package/libusb/libusb/os/haiku_usb.h +0 -113
- package/libusb/libusb/os/haiku_usb_backend.cpp +0 -532
- package/libusb/libusb/os/haiku_usb_raw.cpp +0 -231
- package/libusb/libusb/os/haiku_usb_raw.h +0 -188
- package/libusb/libusb/os/linux_netlink.c +0 -401
- package/libusb/libusb/os/linux_udev.c +0 -321
- package/libusb/libusb/os/linux_usbfs.c +0 -2829
- package/libusb/libusb/os/linux_usbfs.h +0 -221
- package/libusb/libusb/os/netbsd_usb.c +0 -617
- package/libusb/libusb/os/null_usb.c +0 -111
- package/libusb/libusb/os/openbsd_usb.c +0 -700
- package/libusb/libusb/os/sunos_usb.c +0 -1619
- package/libusb/libusb/os/sunos_usb.h +0 -79
- package/libusb/libusb/os/threads_posix.c +0 -126
- package/libusb/libusb/os/threads_posix.h +0 -98
- package/libusb/libusb/os/threads_windows.c +0 -40
- package/libusb/libusb/os/threads_windows.h +0 -113
- package/libusb/libusb/os/windows_common.c +0 -923
- package/libusb/libusb/os/windows_common.h +0 -424
- package/libusb/libusb/os/windows_usbdk.c +0 -724
- package/libusb/libusb/os/windows_usbdk.h +0 -106
- package/libusb/libusb/os/windows_winusb.c +0 -4766
- package/libusb/libusb/os/windows_winusb.h +0 -787
- package/libusb/libusb/strerror.c +0 -223
- package/libusb/libusb/sync.c +0 -342
- package/libusb/libusb/version.h +0 -18
- package/libusb/libusb/version_nano.h +0 -1
- package/libusb/libusb-1.0.pc.in +0 -11
- package/libusb/msvc/Base.props +0 -60
- package/libusb/msvc/Configuration.Application.props +0 -7
- package/libusb/msvc/Configuration.Base.props +0 -47
- package/libusb/msvc/Configuration.DynamicLibrary.props +0 -21
- package/libusb/msvc/Configuration.StaticLibrary.props +0 -7
- package/libusb/msvc/ProjectConfigurations.Base.props +0 -69
- package/libusb/msvc/build_all.ps1 +0 -17
- package/libusb/msvc/config.h +0 -58
- package/libusb/msvc/dpfp.vcxproj +0 -33
- package/libusb/msvc/dpfp_threaded.vcxproj +0 -38
- package/libusb/msvc/fxload.vcxproj +0 -46
- package/libusb/msvc/getopt/getopt.c +0 -1060
- package/libusb/msvc/getopt/getopt.h +0 -180
- package/libusb/msvc/getopt/getopt1.c +0 -188
- package/libusb/msvc/getopt.vcxproj +0 -33
- package/libusb/msvc/hotplugtest.vcxproj +0 -32
- package/libusb/msvc/init_context.vcxproj +0 -35
- package/libusb/msvc/libusb.sln +0 -542
- package/libusb/msvc/libusb_dll.vcxproj +0 -61
- package/libusb/msvc/libusb_static.vcxproj +0 -49
- package/libusb/msvc/listdevs.vcxproj +0 -32
- package/libusb/msvc/sam3u_benchmark.vcxproj +0 -33
- package/libusb/msvc/set_option.vcxproj +0 -35
- package/libusb/msvc/stress.vcxproj +0 -35
- package/libusb/msvc/stress_mt.vcxproj +0 -33
- package/libusb/msvc/testlibusb.vcxproj +0 -32
- package/libusb/msvc/xusb.vcxproj +0 -38
- package/libusb/tests/Makefile.am +0 -40
- package/libusb/tests/init_context.c +0 -153
- package/libusb/tests/libusb_testlib.h +0 -76
- package/libusb/tests/macos.c +0 -130
- package/libusb/tests/set_option.c +0 -253
- package/libusb/tests/stress.c +0 -172
- package/libusb/tests/stress_mt.c +0 -267
- package/libusb/tests/testlib.c +0 -184
- package/libusb/tests/umockdev.c +0 -1175
- package/libusb/tests/webusb-test-shim/index.js +0 -12
- package/libusb/tests/webusb-test-shim/package-lock.json +0 -50
- package/libusb/tests/webusb-test-shim/package.json +0 -10
- package/libusb.gypi +0 -154
- package/libusb_config/config.h +0 -1
- package/prebuilds/android-arm/node.napi.armv7.node +0 -0
- package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/linux-ia32/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/prebuilds/win32-arm64/node.napi.node +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/device.cc +0 -439
- package/src/helpers.h +0 -64
- package/src/hotplug/hotplug.h +0 -22
- package/src/hotplug/libusb.cc +0 -90
- package/src/hotplug/windows.cc +0 -168
- package/src/node_usb.cc +0 -314
- package/src/node_usb.h +0 -131
- package/src/thread_name.cc +0 -79
- package/src/thread_name.h +0 -11
- package/src/transfer.cc +0 -143
- package/src/uv_async_queue.h +0 -41
- package/test/usb.coffee +0 -250
- package/test/webusb.coffee +0 -227
- package/test/worker.cjs +0 -13
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<PropertyGroup Label="Configuration">
|
|
4
|
-
<!--Will be overridden by value from command line, if provided-->
|
|
5
|
-
<PlatformToolset Condition="$(VisualStudioVersion)=='12.0'">v120</PlatformToolset>
|
|
6
|
-
<PlatformToolset Condition="$(VisualStudioVersion)=='14.0'">v140</PlatformToolset>
|
|
7
|
-
<PlatformToolset Condition="$(VisualStudioVersion)=='15.0'">v141</PlatformToolset>
|
|
8
|
-
<PlatformToolset Condition="$(VisualStudioVersion)=='16.0'">v142</PlatformToolset>
|
|
9
|
-
<PlatformToolset Condition="$(VisualStudioVersion)=='17.0'">v143</PlatformToolset>
|
|
10
|
-
<!--We may need the equivalent of PlatformToolsetVersion before it's ready, so create it ourself-->
|
|
11
|
-
<LibusbPlatformToolsetVersion>$(PlatformToolset.Substring(1))</LibusbPlatformToolsetVersion>
|
|
12
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
13
|
-
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
|
14
|
-
<!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc
|
|
15
|
-
(including the built executables themselves) after using vcvarsall or similar to setup
|
|
16
|
-
environment, as ASAN needs access to libs and executables in the toolchain paths.
|
|
17
|
-
-->
|
|
18
|
-
<!--<EnableASAN>true</EnableASAN>-->
|
|
19
|
-
</PropertyGroup>
|
|
20
|
-
<ItemDefinitionGroup>
|
|
21
|
-
<ClCompile Condition="$(Configuration.StartsWith('Debug'))">
|
|
22
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
23
|
-
</ClCompile>
|
|
24
|
-
<ClCompile Condition="$(Configuration.StartsWith('Release'))">
|
|
25
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
26
|
-
</ClCompile>
|
|
27
|
-
</ItemDefinitionGroup>
|
|
28
|
-
<PropertyGroup Label="Globals" Condition="'$(LibusbPlatformToolsetVersion)'<'142'">
|
|
29
|
-
<!--
|
|
30
|
-
WindowsSDKDesktopARMSupport and WindowsSDKDesktopARM64Support are
|
|
31
|
-
required to enable downlevel Windows SDKs to build "desktop" arm/arm64
|
|
32
|
-
binaries.
|
|
33
|
-
-->
|
|
34
|
-
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
|
35
|
-
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
|
36
|
-
<!--
|
|
37
|
-
WindowsTargetPlatformVersion must be set to explicit value for older
|
|
38
|
-
PlatformToolsets. Fetch it from environment variable.
|
|
39
|
-
vs2017/arm64 needs to be special cased to select 10.x SDK instead of 8.x
|
|
40
|
-
-->
|
|
41
|
-
<WindowsTargetPlatformVersion Condition="'$(LibusbPlatformToolsetVersion)'=='141' And $(Platform)=='ARM64'">10.0.19041.0</WindowsTargetPlatformVersion>
|
|
42
|
-
<WindowsTargetPlatformVersion Condition="'$(LibusbPlatformToolsetVersion)'!='141' Or $(Platform)!='ARM64'">$(WindowsSDKVersion)</WindowsTargetPlatformVersion>
|
|
43
|
-
</PropertyGroup>
|
|
44
|
-
<PropertyGroup Label="Globals" Condition="'$(LibusbPlatformToolsetVersion)'>='142'">
|
|
45
|
-
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
46
|
-
</PropertyGroup>
|
|
47
|
-
</Project>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="Configuration.Base.props" />
|
|
4
|
-
<PropertyGroup Label="Configuration">
|
|
5
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
6
|
-
</PropertyGroup>
|
|
7
|
-
<ItemDefinitionGroup>
|
|
8
|
-
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
9
|
-
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
10
|
-
</ClCompile>
|
|
11
|
-
<ClCompile Condition="'$(Configuration)'=='Debug-MT'">
|
|
12
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
13
|
-
</ClCompile>
|
|
14
|
-
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
15
|
-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
16
|
-
</ClCompile>
|
|
17
|
-
<ClCompile Condition="'$(Configuration)'=='Release-MT'">
|
|
18
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
19
|
-
</ClCompile>
|
|
20
|
-
</ItemDefinitionGroup>
|
|
21
|
-
</Project>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="Configuration.Base.props" />
|
|
4
|
-
<PropertyGroup Label="Configuration">
|
|
5
|
-
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
6
|
-
</PropertyGroup>
|
|
7
|
-
</Project>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
-
<ProjectConfiguration Include="Debug|ARM">
|
|
5
|
-
<Configuration>Debug</Configuration>
|
|
6
|
-
<Platform>ARM</Platform>
|
|
7
|
-
</ProjectConfiguration>
|
|
8
|
-
<ProjectConfiguration Include="Debug|ARM64">
|
|
9
|
-
<Configuration>Debug</Configuration>
|
|
10
|
-
<Platform>ARM64</Platform>
|
|
11
|
-
</ProjectConfiguration>
|
|
12
|
-
<ProjectConfiguration Include="Debug|Win32">
|
|
13
|
-
<Configuration>Debug</Configuration>
|
|
14
|
-
<Platform>Win32</Platform>
|
|
15
|
-
</ProjectConfiguration>
|
|
16
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
17
|
-
<Configuration>Debug</Configuration>
|
|
18
|
-
<Platform>x64</Platform>
|
|
19
|
-
</ProjectConfiguration>
|
|
20
|
-
<ProjectConfiguration Include="Release|ARM">
|
|
21
|
-
<Configuration>Release</Configuration>
|
|
22
|
-
<Platform>ARM</Platform>
|
|
23
|
-
</ProjectConfiguration>
|
|
24
|
-
<ProjectConfiguration Include="Release|ARM64">
|
|
25
|
-
<Configuration>Release</Configuration>
|
|
26
|
-
<Platform>ARM64</Platform>
|
|
27
|
-
</ProjectConfiguration>
|
|
28
|
-
<ProjectConfiguration Include="Release|Win32">
|
|
29
|
-
<Configuration>Release</Configuration>
|
|
30
|
-
<Platform>Win32</Platform>
|
|
31
|
-
</ProjectConfiguration>
|
|
32
|
-
<ProjectConfiguration Include="Release|x64">
|
|
33
|
-
<Configuration>Release</Configuration>
|
|
34
|
-
<Platform>x64</Platform>
|
|
35
|
-
</ProjectConfiguration>
|
|
36
|
-
<ProjectConfiguration Include="Debug-MT|ARM">
|
|
37
|
-
<Configuration>Debug-MT</Configuration>
|
|
38
|
-
<Platform>ARM</Platform>
|
|
39
|
-
</ProjectConfiguration>
|
|
40
|
-
<ProjectConfiguration Include="Debug-MT|ARM64">
|
|
41
|
-
<Configuration>Debug-MT</Configuration>
|
|
42
|
-
<Platform>ARM64</Platform>
|
|
43
|
-
</ProjectConfiguration>
|
|
44
|
-
<ProjectConfiguration Include="Debug-MT|Win32">
|
|
45
|
-
<Configuration>Debug-MT</Configuration>
|
|
46
|
-
<Platform>Win32</Platform>
|
|
47
|
-
</ProjectConfiguration>
|
|
48
|
-
<ProjectConfiguration Include="Debug-MT|x64">
|
|
49
|
-
<Configuration>Debug-MT</Configuration>
|
|
50
|
-
<Platform>x64</Platform>
|
|
51
|
-
</ProjectConfiguration>
|
|
52
|
-
<ProjectConfiguration Include="Release-MT|ARM">
|
|
53
|
-
<Configuration>Release-MT</Configuration>
|
|
54
|
-
<Platform>ARM</Platform>
|
|
55
|
-
</ProjectConfiguration>
|
|
56
|
-
<ProjectConfiguration Include="Release-MT|ARM64">
|
|
57
|
-
<Configuration>Release-MT</Configuration>
|
|
58
|
-
<Platform>ARM64</Platform>
|
|
59
|
-
</ProjectConfiguration>
|
|
60
|
-
<ProjectConfiguration Include="Release-MT|Win32">
|
|
61
|
-
<Configuration>Release-MT</Configuration>
|
|
62
|
-
<Platform>Win32</Platform>
|
|
63
|
-
</ProjectConfiguration>
|
|
64
|
-
<ProjectConfiguration Include="Release-MT|x64">
|
|
65
|
-
<Configuration>Release-MT</Configuration>
|
|
66
|
-
<Platform>x64</Platform>
|
|
67
|
-
</ProjectConfiguration>
|
|
68
|
-
</ItemGroup>
|
|
69
|
-
</Project>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
$toolsets = "v120", "v140", "v141", "v142", "v143"
|
|
2
|
-
$platforms = "Win32", "x64", "ARM", "ARM64"
|
|
3
|
-
$configurations = "Debug", "Release"
|
|
4
|
-
|
|
5
|
-
foreach ($toolset in $toolsets) {
|
|
6
|
-
foreach ($plat in $platforms) {
|
|
7
|
-
if (("v120", "v140").contains($toolset) -and $plat -eq "ARM64") {
|
|
8
|
-
# VS2013,VS2015 don't support arm64
|
|
9
|
-
write-host ">>> PlatformToolset=$toolset,Platform=$plat SKIP"
|
|
10
|
-
continue
|
|
11
|
-
}
|
|
12
|
-
foreach ($conf in $configurations) {
|
|
13
|
-
write-host ">>> PlatformToolset=$toolset,Platform=$plat,Configuration=$conf"
|
|
14
|
-
msbuild -m -v:m -p:PlatformToolset=$toolset,Platform=$plat,Configuration=$conf $PSScriptRoot\libusb.sln
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
package/libusb/msvc/config.h
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* config.h. Manual config for MSVC. */
|
|
2
|
-
|
|
3
|
-
#ifndef _MSC_VER
|
|
4
|
-
#warn "msvc/config.h shouldn't be included for your development environment."
|
|
5
|
-
#error "Please make sure the msvc/ directory is removed from your build path."
|
|
6
|
-
#endif
|
|
7
|
-
|
|
8
|
-
/* Visual Studio 2013 or later is required */
|
|
9
|
-
#if (_MSC_VER < 1800)
|
|
10
|
-
#error "Visual Studio 2013 or later is required."
|
|
11
|
-
#endif
|
|
12
|
-
|
|
13
|
-
/* Visual Studio 2013 and 2015 do not support __func__ */
|
|
14
|
-
#if (_MSC_VER <= 1900)
|
|
15
|
-
#define __func__ __FUNCTION__
|
|
16
|
-
#endif
|
|
17
|
-
|
|
18
|
-
/* Visual Studio 2015 and later defines timespec */
|
|
19
|
-
#if (_MSC_VER >= 1900)
|
|
20
|
-
#define _TIMESPEC_DEFINED 1
|
|
21
|
-
#endif
|
|
22
|
-
|
|
23
|
-
/* Disable: warning C4127: conditional expression is constant */
|
|
24
|
-
#pragma warning(disable:4127)
|
|
25
|
-
/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
|
|
26
|
-
#pragma warning(disable:4200)
|
|
27
|
-
/* Disable: warning C4201: nonstandard extension used : nameless struct/union */
|
|
28
|
-
#pragma warning(disable:4201)
|
|
29
|
-
/* Disable: warning C4324: structure was padded due to __declspec(align()) */
|
|
30
|
-
#pragma warning(disable:4324)
|
|
31
|
-
/* Disable: warning C4996: 'GetVersionExA': was declared deprecated */
|
|
32
|
-
#pragma warning(disable:4996)
|
|
33
|
-
|
|
34
|
-
#if defined(_PREFAST_)
|
|
35
|
-
/* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
|
|
36
|
-
#pragma warning(disable:28719)
|
|
37
|
-
/* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
|
|
38
|
-
#pragma warning(disable:28125)
|
|
39
|
-
#endif
|
|
40
|
-
|
|
41
|
-
/* Define to the attribute for default visibility. */
|
|
42
|
-
#define DEFAULT_VISIBILITY /**/
|
|
43
|
-
|
|
44
|
-
/* Define to 1 to start with debug message logging enabled. */
|
|
45
|
-
/* #undef ENABLE_DEBUG_LOGGING */
|
|
46
|
-
|
|
47
|
-
/* Define to 1 to enable message logging. */
|
|
48
|
-
#define ENABLE_LOGGING 1
|
|
49
|
-
|
|
50
|
-
/* Define to 1 if compiling for a Windows platform. */
|
|
51
|
-
#define PLATFORM_WINDOWS 1
|
|
52
|
-
|
|
53
|
-
/* Define to the attribute for enabling parameter checks on printf-like
|
|
54
|
-
functions. */
|
|
55
|
-
#define PRINTF_FORMAT(a, b) /**/
|
|
56
|
-
|
|
57
|
-
/* Define to 1 to output logging messages to the systemwide log. */
|
|
58
|
-
/* #undef USE_SYSTEM_LOGGING_FACILITY */
|
package/libusb/msvc/dpfp.vcxproj
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="ProjectConfigurations.Base.props" />
|
|
4
|
-
<PropertyGroup Label="Globals">
|
|
5
|
-
<ProjectGuid>{8c7814a1-fd6e-4185-9ea0-8208119756d4}</ProjectGuid>
|
|
6
|
-
</PropertyGroup>
|
|
7
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
8
|
-
<Import Project="Configuration.Application.props" />
|
|
9
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
10
|
-
<ImportGroup Label="ExtensionSettings">
|
|
11
|
-
</ImportGroup>
|
|
12
|
-
<ImportGroup Label="PropertySheets">
|
|
13
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
14
|
-
<Import Project="Base.props" />
|
|
15
|
-
</ImportGroup>
|
|
16
|
-
<PropertyGroup Label="UserMacros" />
|
|
17
|
-
<ItemGroup>
|
|
18
|
-
<ClCompile Include="..\examples\dpfp.c" />
|
|
19
|
-
</ItemGroup>
|
|
20
|
-
<ItemGroup>
|
|
21
|
-
<ClInclude Include=".\config.h" />
|
|
22
|
-
<ClInclude Include="..\libusb\libusb.h" />
|
|
23
|
-
</ItemGroup>
|
|
24
|
-
<ItemGroup>
|
|
25
|
-
<ProjectReference Include=".\libusb_static.vcxproj">
|
|
26
|
-
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
27
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
28
|
-
</ProjectReference>
|
|
29
|
-
</ItemGroup>
|
|
30
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
31
|
-
<ImportGroup Label="ExtensionTargets">
|
|
32
|
-
</ImportGroup>
|
|
33
|
-
</Project>
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="ProjectConfigurations.Base.props" />
|
|
4
|
-
<PropertyGroup Label="Globals">
|
|
5
|
-
<ProjectGuid>{8c7814a2-fd6e-4185-9ea0-8208119756d4}</ProjectGuid>
|
|
6
|
-
</PropertyGroup>
|
|
7
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
8
|
-
<Import Project="Configuration.Application.props" />
|
|
9
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
10
|
-
<ImportGroup Label="ExtensionSettings">
|
|
11
|
-
</ImportGroup>
|
|
12
|
-
<ImportGroup Label="PropertySheets">
|
|
13
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
14
|
-
<Import Project="Base.props" />
|
|
15
|
-
</ImportGroup>
|
|
16
|
-
<PropertyGroup Label="UserMacros" />
|
|
17
|
-
<ItemDefinitionGroup>
|
|
18
|
-
<ClCompile>
|
|
19
|
-
<PreprocessorDefinitions>DPFP_THREADED;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
20
|
-
</ClCompile>
|
|
21
|
-
</ItemDefinitionGroup>
|
|
22
|
-
<ItemGroup>
|
|
23
|
-
<ClCompile Include="..\examples\dpfp.c" />
|
|
24
|
-
</ItemGroup>
|
|
25
|
-
<ItemGroup>
|
|
26
|
-
<ClInclude Include=".\config.h" />
|
|
27
|
-
<ClInclude Include="..\libusb\libusb.h" />
|
|
28
|
-
</ItemGroup>
|
|
29
|
-
<ItemGroup>
|
|
30
|
-
<ProjectReference Include=".\libusb_static.vcxproj">
|
|
31
|
-
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
32
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
33
|
-
</ProjectReference>
|
|
34
|
-
</ItemGroup>
|
|
35
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
36
|
-
<ImportGroup Label="ExtensionTargets">
|
|
37
|
-
</ImportGroup>
|
|
38
|
-
</Project>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<Import Project="ProjectConfigurations.Base.props" />
|
|
4
|
-
<PropertyGroup Label="Globals">
|
|
5
|
-
<ProjectGuid>{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}</ProjectGuid>
|
|
6
|
-
</PropertyGroup>
|
|
7
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
8
|
-
<Import Project="Configuration.Application.props" />
|
|
9
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
10
|
-
<ImportGroup Label="ExtensionSettings">
|
|
11
|
-
</ImportGroup>
|
|
12
|
-
<ImportGroup Label="PropertySheets">
|
|
13
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
14
|
-
<Import Project="Base.props" />
|
|
15
|
-
</ImportGroup>
|
|
16
|
-
<PropertyGroup Label="UserMacros" />
|
|
17
|
-
<ItemDefinitionGroup>
|
|
18
|
-
<ClCompile>
|
|
19
|
-
<AdditionalIncludeDirectories>.\getopt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
20
|
-
<PreprocessorDefinitions>__GNU_LIBRARY__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
21
|
-
</ClCompile>
|
|
22
|
-
</ItemDefinitionGroup>
|
|
23
|
-
<ItemGroup>
|
|
24
|
-
<ClCompile Include="..\examples\ezusb.c" />
|
|
25
|
-
<ClCompile Include="..\examples\fxload.c" />
|
|
26
|
-
</ItemGroup>
|
|
27
|
-
<ItemGroup>
|
|
28
|
-
<ClInclude Include=".\config.h" />
|
|
29
|
-
<ClInclude Include=".\getopt\getopt.h" />
|
|
30
|
-
<ClInclude Include="..\examples\ezusb.h" />
|
|
31
|
-
<ClInclude Include="..\libusb\libusb.h" />
|
|
32
|
-
</ItemGroup>
|
|
33
|
-
<ItemGroup>
|
|
34
|
-
<ProjectReference Include=".\getopt.vcxproj">
|
|
35
|
-
<Project>{ae83e1b4-ce06-47ee-b7a3-c3a1d7c2d71e}</Project>
|
|
36
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
37
|
-
</ProjectReference>
|
|
38
|
-
<ProjectReference Include=".\libusb_static.vcxproj">
|
|
39
|
-
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
40
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
41
|
-
</ProjectReference>
|
|
42
|
-
</ItemGroup>
|
|
43
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
44
|
-
<ImportGroup Label="ExtensionTargets">
|
|
45
|
-
</ImportGroup>
|
|
46
|
-
</Project>
|