https://github.com/jocover/openusrp
using LimeSDR to simulate USRP B210
https://github.com/jocover/openusrp
Last synced: about 2 months ago
JSON representation
using LimeSDR to simulate USRP B210
- Host: GitHub
- URL: https://github.com/jocover/openusrp
- Owner: jocover
- License: gpl-3.0
- Created: 2016-06-28T14:32:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T13:43:57.000Z (almost 4 years ago)
- Last Synced: 2025-04-05T20:35:08.546Z (2 months ago)
- Language: C++
- Homepage:
- Size: 76.2 KB
- Stars: 111
- Watchers: 15
- Forks: 53
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenUSRP
OpenUSRP uses a LimeSDR to simulate a USRP B210 device.
Build Status
------------Travis: [](https://travis-ci.org/jocover/OpenUSRP)
AppVeyor: [](https://ci.appveyor.com/project/jocover/OpenUSRP)
Dependencies
------------- LimeSuite: [https://github.com/myriadrf/LimeSuite.git][1]
- Boost: [http://www.boost.org/users/download/][2]
- UHD (optional): [https://github.com/EttusResearch/uhd.git][3]Installation
------------### LIBUHD mode
```sh
git clone https://github.com/EttusResearch/uhd.git
cd uhd/host/lib/usrp
git clone https://github.com/jocover/OpenUSRP.git
```Add the line `INCLUDE_SUBDIRECTORY(OpenUSRP)` to the `uhd/host/lib/usrp/CMakeLists.txt` file.
```sh
echo "INCLUDE_SUBDIRECTORY(OpenUSRP)" >> CMakeLists.txt```
Then, rebuild the UHD driver. See [Building and Installing UHD from source][4].
### UHD MODULE mode
```sh
git clone https://github.com/jocover/OpenUSRP.git
mkdir build && cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
```After the steps above, add the `UHD_MODULE_PATH` environment variable to your system.
```sh
echo 'export UHD_MODULE_PATH=/usr/lib/uhd/modules' | sudo tee --append /etc/environment
# Alternatively, add it for just a user:
# echo 'export UHD_MODULE_PATH=/usr/lib/uhd/modules' >> ~/.bashrc
```Testing
-------```sh
dave@intel:~$ uhd_find_devices
linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.010.001.001-release--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: b200
product: B210
module: STREAM
media: USB 3.0
name: LimeSDR-USB
serial: 0009060A02430E1E```
Windows Binaries
----------------LabVIEW for LimeSDR :[LabVIEW_for_LimeSDR.zip][5]
[1]: https://github.com/myriadrf/LimeSuite.git
[2]: http://www.boost.org/users/download/
[3]: https://github.com/EttusResearch/uhd.git
[4]: http://files.ettus.com/manual/page_build_guide.html
[5]: https://www.jiangwei.org/wp-content/files/LabVIEW_for_LimeSDR.zip