Projects
osmocom:nightly
limesuite
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 317
View file
limesuite_20.01.0.173.38ef.202305010026.dsc
Deleted
@@ -1,26 +0,0 @@ -Format: 3.0 (native) -Source: limesuite -Binary: liblimesuite22.09-1, liblimesuite-dev, limesuite, soapysdr-module-lms7, soapysdr0.7-module-lms7, limesuite-udev, limesuite-images22.09, limesuite-images -Architecture: any all -Version: 20.01.0.173.38ef.202305010026 -Maintainer: Lime Microsystems <apps@limemicro.com> -Homepage: https://myriadrf.org/projects/lime-suite/ -Standards-Version: 4.1.1 -Vcs-Browser: https://github.com/myriadrf/LimeSuite.git -Vcs-Git: https://github.com/myriadrf/LimeSuite.git -Build-Depends: debhelper (>= 9.0.0), cmake (>= 3.1.3), libusb-1.0-0-dev, libwxgtk3.0-dev | libwxgtk3.0-gtk3-dev, libsoapysdr-dev, freeglut3-dev, libfltk1.3-dev, fluid -Package-List: - liblimesuite-dev deb libdevel optional arch=any - liblimesuite22.09-1 deb libs optional arch=any - limesuite deb comm optional arch=any - limesuite-images deb libs optional arch=any - limesuite-images22.09 deb libs optional arch=any - limesuite-udev deb libs optional arch=any - soapysdr-module-lms7 deb libs optional arch=all - soapysdr0.7-module-lms7 deb comm optional arch=any -Checksums-Sha1: - 35a4252d17e719d136b258afc127a1d080d02191 4065096 limesuite_20.01.0.173.38ef.202305010026.tar.xz -Checksums-Sha256: - 44e98ab69f78c5d03458488e0ca2e42fcf996e4a01410ac6cf11b8c7cbc6e523 4065096 limesuite_20.01.0.173.38ef.202305010026.tar.xz -Files: - 8b9bc8e4759d4ead1ae363fc6c8586e5 4065096 limesuite_20.01.0.173.38ef.202305010026.tar.xz
View file
limesuite_20.01.0.176.a470.202305020026.dsc
Added
@@ -0,0 +1,26 @@ +Format: 3.0 (native) +Source: limesuite +Binary: liblimesuite22.09-1, liblimesuite-dev, limesuite, soapysdr-module-lms7, soapysdr0.7-module-lms7, limesuite-udev, limesuite-images22.09, limesuite-images +Architecture: any all +Version: 20.01.0.176.a470.202305020026 +Maintainer: Lime Microsystems <apps@limemicro.com> +Homepage: https://myriadrf.org/projects/lime-suite/ +Standards-Version: 4.1.1 +Vcs-Browser: https://github.com/myriadrf/LimeSuite.git +Vcs-Git: https://github.com/myriadrf/LimeSuite.git +Build-Depends: debhelper (>= 9.0.0), cmake (>= 3.1.3), libusb-1.0-0-dev, libwxgtk3.0-dev | libwxgtk3.0-gtk3-dev, libsoapysdr-dev, freeglut3-dev, libfltk1.3-dev, fluid +Package-List: + liblimesuite-dev deb libdevel optional arch=any + liblimesuite22.09-1 deb libs optional arch=any + limesuite deb comm optional arch=any + limesuite-images deb libs optional arch=any + limesuite-images22.09 deb libs optional arch=any + limesuite-udev deb libs optional arch=any + soapysdr-module-lms7 deb libs optional arch=all + soapysdr0.7-module-lms7 deb comm optional arch=any +Checksums-Sha1: + debbe4b7b599fd729198b40989268366a60c4dcf 4064568 limesuite_20.01.0.176.a470.202305020026.tar.xz +Checksums-Sha256: + 92df6bbdaf5923754b8c5c995616a3c6c951f7385ed25a02cc4acc2b63ac3d3f 4064568 limesuite_20.01.0.176.a470.202305020026.tar.xz +Files: + 895b7cf76bf7c43cfc8a353cfcd036c6 4064568 limesuite_20.01.0.176.a470.202305020026.tar.xz
View file
limesuite_20.01.0.173.38ef.202305010026.tar.xz/.tarball-version -> limesuite_20.01.0.176.a470.202305020026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -20.01.0.173-38ef.202305010026 +20.01.0.176-a470.202305020026
View file
limesuite_20.01.0.173.38ef.202305010026.tar.xz/SoapyLMS7/Settings.cpp -> limesuite_20.01.0.176.a470.202305020026.tar.xz/SoapyLMS7/Settings.cpp
Changed
@@ -592,6 +592,41 @@ return lms7Device->GetClockFreq(LMS_CLOCK_CGEN); } +std::string SoapyLMS7::getClockSource(void) const { + return _clockExternal ? "external" : "internal"; +} + +double SoapyLMS7::getReferenceClockRate(void) const { + return _clockExternal ? _clockRate : 0.0f; +} + +SoapySDR::RangeList SoapyLMS7::getReferenceClockRates(void) const { + std::unique_lock<std::recursive_mutex> lock(_accessMutex); + SoapySDR::RangeList result; + result.emplace_back(0, lms7Device->GetClockFreq(LMS_CLOCK_REF)); + return result; +} + +std::vector<std::string> SoapyLMS7::listClockSources(void) const { + return {"internal", "external"}; +} + +void SoapyLMS7::setClockSource(const std::string &source) { + _clockExternal = source == "external"; + updateReferenceClock(); +} + +void SoapyLMS7::setReferenceClockRate(const double rate) { + _clockRate = std::max(0.0, rate); + updateReferenceClock(); +} + +void SoapyLMS7::updateReferenceClock() +{ + std::unique_lock<std::recursive_mutex> lock(_accessMutex); + lms7Device->SetClockFreq(LMS_CLOCK_EXTREF, _clockExternal ? _clockRate : 0.0); +} + /******************************************************************* * Time API ******************************************************************/
View file
limesuite_20.01.0.173.38ef.202305010026.tar.xz/SoapyLMS7/SoapyLMS7.h -> limesuite_20.01.0.176.a470.202305020026.tar.xz/SoapyLMS7/SoapyLMS7.h
Changed
@@ -205,6 +205,18 @@ double getMasterClockRate(void) const; + std::string getClockSource(void) const; + + double getReferenceClockRate(void) const; + + SoapySDR::RangeList getReferenceClockRates(void) const; + + std::vector<std::string> listClockSources(void) const; + + void setClockSource(const std::string &source); + + void setReferenceClockRate(const double rate); + /******************************************************************* * Time API ******************************************************************/ @@ -288,6 +300,7 @@ }; int setBBLPF(bool direction, size_t channel, double bw); + void updateReferenceClock(); const SoapySDR::Kwargs _deviceArgs; //!< stash of constructor arguments const std::string _moduleName; @@ -298,4 +311,6 @@ mutable std::recursive_mutex _accessMutex; std::vector<Channel> mChannels2; //mChannelsdirection std::set<SoapySDR::Stream *> activeStreams; + bool _clockExternal{false}; + double _clockRate{10e6f}; };
View file
limesuite_20.01.0.173.38ef.202305010026.tar.xz/debian/changelog -> limesuite_20.01.0.176.a470.202305020026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -limesuite (20.01.0.173.38ef.202305010026) unstable; urgency=medium +limesuite (20.01.0.176.a470.202305020026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 01 May 2023 00:27:26 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 02 May 2023 00:27:23 +0000 limesuite (22.09.1-1) unstable; urgency=low
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.