diff --git a/README b/README index 1b3ec6ffe341c35b52aa8b713f60f4e3afe729b1..ad5d8e4c4f00721dee1728aa216d1985718e09fa 100644 --- a/README +++ b/README @@ -48,6 +48,12 @@ sharedptr_ndarray share_ptr在C++多维数组管理方法中的优势和性能测试 https://goldenhawking.blog.csdn.net/article/details/78171742 +uhd_cpp + USRP B210 SDR C/C++接口连续收发程序 + https://goldenhawking.blog.csdn.net/article/details/109907083 + USRP 套件在windows下的快速引入 + https://goldenhawking.blog.csdn.net/article/details/110727815 + string_split C++11分解字符串 https://goldenhawking.blog.csdn.net/article/details/80833565 diff --git a/sdr/.gitignore b/uhd_cpp/.gitignore similarity index 100% rename from sdr/.gitignore rename to uhd_cpp/.gitignore diff --git a/sdr/build.sh b/uhd_cpp/build.sh similarity index 100% rename from sdr/build.sh rename to uhd_cpp/build.sh diff --git a/sdr/sdr.pro b/uhd_cpp/sdr.pro similarity index 100% rename from sdr/sdr.pro rename to uhd_cpp/sdr.pro diff --git a/uhd_cpp/uhd_cpp.sln b/uhd_cpp/uhd_cpp.sln new file mode 100644 index 0000000000000000000000000000000000000000..a36a47cf867a6413caf198a519ce159433057758 --- /dev/null +++ b/uhd_cpp/uhd_cpp.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30611.23 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "uhd_cpp", "uhd_cpp.vcxproj", "{4A1D9B00-DCC5-49AB-B927-91D380EBC007}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4A1D9B00-DCC5-49AB-B927-91D380EBC007}.Debug|x64.ActiveCfg = Debug|x64 + {4A1D9B00-DCC5-49AB-B927-91D380EBC007}.Debug|x64.Build.0 = Debug|x64 + {4A1D9B00-DCC5-49AB-B927-91D380EBC007}.Release|x64.ActiveCfg = Release|x64 + {4A1D9B00-DCC5-49AB-B927-91D380EBC007}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0C43432D-FF09-4B1F-B06E-B789B19FB50C} + EndGlobalSection +EndGlobal diff --git a/uhd_cpp/uhd_cpp.vcxproj b/uhd_cpp/uhd_cpp.vcxproj new file mode 100644 index 0000000000000000000000000000000000000000..e2187c085cf1fd485fc833af561b9de846400730 --- /dev/null +++ b/uhd_cpp/uhd_cpp.vcxproj @@ -0,0 +1,153 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {4a1d9b00-dcc5-49ab-b927-91d380ebc007} + uhdcpp + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + D:\boost-1.75.0\include\boost-1_75;Z:\USRP\PothosSDR\include;%(AdditionalIncludeDirectories) + + + Console + true + D:\boost-1.75.0\lib;Z:\USRP\PothosSDR\lib;%(AdditionalLibraryDirectories) + uhd.lib;%(AdditionalDependencies) + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + D:\boost-1.75.0\include\boost-1_75;Z:\USRP\PothosSDR\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + Z:\USRP\PothosSDR\lib;D:\boost-1.75.0\lib;%(AdditionalLibraryDirectories) + uhd.lib;%(AdditionalDependencies) + + + + + + + + + \ No newline at end of file diff --git a/uhd_cpp/uhd_cpp.vcxproj.filters b/uhd_cpp/uhd_cpp.vcxproj.filters new file mode 100644 index 0000000000000000000000000000000000000000..12c7239e23798d8d34c5cf66cded9c3dfa1818c7 --- /dev/null +++ b/uhd_cpp/uhd_cpp.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + 源文件 + + + \ No newline at end of file diff --git a/sdr/uhd_io.cpp b/uhd_cpp/uhd_io.cpp similarity index 100% rename from sdr/uhd_io.cpp rename to uhd_cpp/uhd_io.cpp diff --git a/sdr/uhd_io_cpp.cpp b/uhd_cpp/uhd_io_cpp.cpp similarity index 100% rename from sdr/uhd_io_cpp.cpp rename to uhd_cpp/uhd_io_cpp.cpp