当前位置:网站首页>USB (XVII) 2022-04-15

USB (XVII) 2022-04-15

2022-07-07 23:25:00 Xiao Xiao and evening rain Xiao Xiao

                                 be based on FX3Qt Develop the upper computer

1. The development of preparation

QT The official did not contact USB Communication related encapsulated classes ,cypress The official provides two libraries for upper computers , One is based on C# Dynamic link library for CyUSB.dll, The other one is based on C++ Of CyAPI.lib library . This development uses CyAPI.lib,QT+CyUsb3.sys+USB3.0 The implementation of the scheme is based on windows10 Host computer USB Interface configuration . This solution needs to be installed cypress Officially provided drivers CyUsb3.sys, This driver is installing the official suite EZ-USB FX3 SDK after , Will be in C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\driver\bin\win7\x64 Under the path . In addition, it should be noted that the connecting line needs to be inserted into PC Terminal USB3.0 Interface .

mingw, yes Minimalist GNU on Windows Abbreviation . It's actually going to be classic open source C Language compiler GCC Transplanted to Windows Next , And it includes WindowsAPI , Therefore, you can compile the source code to generate Windows The executable program under .MSVC It is a compiler provided by Microsoft .cypress The official library provided is in QT Required in MSVC The compiler , The static library is based on .lib Or with .a Final document ,.lib The end is MSVC Used by the compiler ,.a The end is minGW Used by the compiler . install MSVC The compiler of needs to install the corresponding version VS, as well as windows SDK, So that we can use MSVC The compiler . This development uses minGW compiler , Therefore, the official library needs to be recompiled .

原网站

版权声明
本文为[Xiao Xiao and evening rain Xiao Xiao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207072016330784.html