Hello community, here is the log from the commit of package limesuite for openSUSE:Factory checked in at 2020-01-30 09:41:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/limesuite (Old) and /work/SRC/openSUSE:Factory/.limesuite.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "limesuite" Thu Jan 30 09:41:21 2020 rev:10 rq:768305 version:20.01.0 Changes: -------- --- /work/SRC/openSUSE:Factory/limesuite/limesuite.changes 2019-05-20 10:30:15.997879089 +0200 +++ /work/SRC/openSUSE:Factory/.limesuite.new.26092/limesuite.changes 2020-01-30 09:41:58.253508410 +0100 @@ -1,0 +2,45 @@ +Wed Jan 29 09:42:29 UTC 2020 - Martin Hauke <[email protected]> + + +- Update to version 20.01.0 + LimeSuite library changes: + * Including LimeRFE support + * Update CGEN calculation to allow lower CGEN values + * Configure RF switches (when possible) to avoid transmission + during calibration + * Automatically reconfigure GFIR LPF after sample rate change + * Remove LMS_EnableCalibCache function from LimeSuite.h + * Improve PLL locking in calibration procedures + * Fix Tx transfer size being set to Rx transfer size + * Fix RF path being auto-set after it was selected explicitly + for LimeSDR-Mini + * Add option to perform Rx phase alignment instead of of always + running it + * Improve SXT/SXR tune by automatically retrying with higher + bias current setting + * Update FIFO buffers to use memory more efficiently + SoapyLMS: + * Add oversampling setting + * Set bandwidth to sample rate if bandwidth is not explicitly set + * Fix possible segfault when 2 Rx cahnnels are used + * Pause streaming when changing sample rate + * Return time error when negative timestmp is used + * Automatically use wide enough bandwidth setting for RF + frequencies bellow 30 MHz + * Remove master clock setting + * Add setting descriptions + * Implement read for setting advertised by getSettingInfo() + LimeSuiteGUI: + * Add panel for LMS API function testing + * Add option to play WFM file from software + * fix channel measurement in FFTviewer for Ch.B in MIMO mode + Octave plugin: + * Add LimeGetStreamStatus function + * Add LimeTransceiveSamples function + * Update antenna selection after loading ini file + Other changes: + * Fix LimeQuickTest not outputing to windows command line +- Add patch: + * 0001-Remove-some-warnings-LimeRFE-related.patch + +------------------------------------------------------------------- Old: ---- limesuite-19.04.0.tar.xz New: ---- 0001-Remove-some-warnings-LimeRFE-related.patch limesuite-20.01.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ limesuite.spec ++++++ --- /var/tmp/diff_new_pack.kglMAv/_old 2020-01-30 09:41:59.169508901 +0100 +++ /var/tmp/diff_new_pack.kglMAv/_new 2020-01-30 09:41:59.173508902 +0100 @@ -1,7 +1,7 @@ # # spec file for package limesuite # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -17,11 +17,11 @@ # -%define sover 19_04-1 +%define sover 20_01-1 %define libname libLimeSuite%{sover} %define soapy_modver 0.7 Name: limesuite -Version: 19.04.0 +Version: 20.01.0 Release: 0 Summary: Collection of software supporting LMS7-based hardware License: Apache-2.0 @@ -29,6 +29,7 @@ URL: https://myriadrf.org/projects/lime-suite/ #Git-Clone: https://github.com/myriadrf/LimeSuite.git Source: https://github.com/myriadrf/LimeSuite/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz +Patch0: 0001-Remove-some-warnings-LimeRFE-related.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gnuplot @@ -83,12 +84,12 @@ %prep %setup -q -n LimeSuite-%{version} +%patch0 -p1 # HACK: set udev permissions to 666 sed -i 's|MODE="660"|MODE="666"|g' udev-rules/64-limesuite.rules %build -export CFLAGS='%{optflags} -Wno-return-type' %cmake \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_AUTOSET_INSTALL_RPATH=FALSE \ ++++++ 0001-Remove-some-warnings-LimeRFE-related.patch ++++++ >From c931854ead81307206bce750c17c2301810b5545 Mon Sep 17 00:00:00 2001 From: Ignas J <[email protected]> Date: Wed, 29 Jan 2020 10:55:12 +0200 Subject: [PATCH] Remove some warnings (LimeRFE related) --- src/examples/limeRFE_I2C_example.cpp | 1 - src/limeRFE/RFE_Device.cpp | 2 +- src/limeRFE/limeRFE_api.cpp | 7 ++++--- src/limeRFE/limeRFE_cmd.cpp | 3 --- src/limeRFE/limeRFE_wxgui.cpp | 6 +++--- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/examples/limeRFE_I2C_example.cpp b/src/examples/limeRFE_I2C_example.cpp index 5e6093ec..b7f35fd1 100644 --- a/src/examples/limeRFE_I2C_example.cpp +++ b/src/examples/limeRFE_I2C_example.cpp @@ -25,7 +25,6 @@ int main(int argc, char** argv) { //Find devices int n; - int fd = -1; lms_info_str_t list[8]; //should be large enough to hold all detected devices if ((n = LMS_GetDeviceList(list)) < 0) //NULL can be passed to only get number of devices error(); diff --git a/src/limeRFE/RFE_Device.cpp b/src/limeRFE/RFE_Device.cpp index 6bdaf815..8d2d7df7 100644 --- a/src/limeRFE/RFE_Device.cpp +++ b/src/limeRFE/RFE_Device.cpp @@ -139,7 +139,7 @@ int RFE_Device::SetFrequency(bool dirTx, int ch, float freq) else if (!dirTx && autoRx) boardState.channelIDRX = RxPortCheck(boardState.selPortRX,FreqToBand(freq)); - return Cmd_ConfigureState(sdrDevice, com, boardState); + return Cmd_ConfigureState(sdrDevice, com, boardState); } void RFE_Device::AutoFreq(rfe_boardState& state) diff --git a/src/limeRFE/limeRFE_api.cpp b/src/limeRFE/limeRFE_api.cpp index 3d360af5..524ad145 100644 --- a/src/limeRFE/limeRFE_api.cpp +++ b/src/limeRFE/limeRFE_api.cpp @@ -14,10 +14,10 @@ extern "C" API_EXPORT rfe_dev_t* CALL_CONV RFE_Open(const char* serialport, lms_ if (dev == nullptr && serialport == nullptr) return nullptr; - int result; + int result; - RFE_COM com; - com.fd = -1; + RFE_COM com; + com.fd = -1; #ifndef __unix__ com.hComm = 0; #endif @@ -177,6 +177,7 @@ API_EXPORT int CALL_CONV RFE_AssignSDRChannels(rfe_dev_t* rfe, int rx, int tx) return -1; auto* dev = static_cast<RFE_Device*>(rfe); dev->SetChannels(rx, tx); + return 0; } extern "C" API_EXPORT int RFE_Fan(rfe_dev_t* rfe, int enable) { diff --git a/src/limeRFE/limeRFE_cmd.cpp b/src/limeRFE/limeRFE_cmd.cpp index 805b5383..7deb47d7 100644 --- a/src/limeRFE/limeRFE_cmd.cpp +++ b/src/limeRFE/limeRFE_cmd.cpp @@ -28,7 +28,6 @@ int my_write(RFE_COM com, char* buffer, int count) { int serialport_write(RFE_COM com, const char* str, int len) { - int n; char* cstr = (char*)str; return my_write(com, cstr, len); } @@ -672,7 +671,6 @@ int i2c_write_buffer(lms_device_t* lms, unsigned char* c, int size) { unsigned char addressI2C = RFE_I2C_ADDRESS; unsigned char addressByte = addressI2C << 1; unsigned char addressByteW = addressByte & ~1; - unsigned char addressByteR = addressByte | 1; if(i2c_start(lms) != 0) // send start sequence return -1; @@ -690,7 +688,6 @@ int i2c_write_buffer(lms_device_t* lms, unsigned char* c, int size) { int i2c_read_buffer(lms_device_t* lms, unsigned char* c, int size) { unsigned char addressI2C = RFE_I2C_ADDRESS; unsigned char addressByte = addressI2C << 1; - unsigned char addressByteW = addressByte & ~1; unsigned char addressByteR = addressByte | 1; i2c_start(lms); // send a restart sequence diff --git a/src/limeRFE/limeRFE_wxgui.cpp b/src/limeRFE/limeRFE_wxgui.cpp index 22019a43..3a5d1626 100644 --- a/src/limeRFE/limeRFE_wxgui.cpp +++ b/src/limeRFE/limeRFE_wxgui.cpp @@ -215,7 +215,7 @@ void limeRFE_wxgui::OnbtnOpen(wxCommandEvent& event){ rfe_boardState state; guiState stateGUI; - int status =ReadConfig(dlg.GetPath().To8BitData(), &state, &stateGUI); + ReadConfig(dlg.GetPath().To8BitData(), &state, &stateGUI); powerCellCalCorr = stateGUI.powerCellCorr; powerCalCorr = stateGUI.powerCorr; @@ -521,7 +521,7 @@ void limeRFE_wxgui::SetChannelsTypesTXRX(int channelTXRX) { if (i == RFE_TYPE_INDEX_CELL) cTypeTXRX->AppendString("Cellular"); } - if (cTypeTXRX->GetCount() < (*lastTypeSelectionTXRX + 1)) + if (cTypeTXRX->GetCount() < unsigned(*lastTypeSelectionTXRX + 1)) *lastTypeSelectionTXRX = 0; cTypeTXRX->SetSelection(*lastTypeSelectionTXRX); @@ -623,7 +623,7 @@ void limeRFE_wxgui::SetConfigurationOptions() { cPortTX->AppendString(RFE_PORT_1_NAME); portTXvals[0] = RFE_PORT_1; } - else if ((selChannelIDTX == RFE_CID_HAM_0030) || + else if ((selChannelIDTX == RFE_CID_HAM_0030) || (selChannelIDTX == RFE_CID_HAM_0070)) { cPortTX->AppendString(RFE_PORT_3_NAME); portTXvals[0] = RFE_PORT_3; -- 2.25.0 ++++++ limesuite-19.04.0.tar.xz -> limesuite-20.01.0.tar.xz ++++++
