Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFIR coefficient GUI & cleanup #396

Merged
merged 38 commits into from
Feb 1, 2024

Conversation

DominykasPetke
Copy link

Added

  • Reenabled GFIR coefficient GUI
  • More const and constexpr

Fixed

  • GFIR coefficient handling in LMS API

Changed

  • Rewritten CoefficientFileParser using C++'s IO libraries and added tests for it
  • Changed file reading in lms7002_pnlMCU_BD_view to C++'s IO libraries
  • Changed some C style arrays into C++ arrays
  • Updated GTest

Removed

  • Unnecessary semicolons
  • Unneeded conversions
  • Duplicate config file

… the file it would incorrectly say too many coefficients
src/lms7002_wxgui/lms7002_pnlRxTSP_view.cpp Outdated Show resolved Hide resolved
src/lms7002_wxgui/lms7002_dlgGFIR_Coefficients.cpp Outdated Show resolved Hide resolved
*/
int LMS7002M::GetGFIRCoefficients(TRXDir dir, uint8_t GFIR_index, int16_t* coef, uint8_t coefCount)
int LMS7002M::ReadGFIRCoefficients(TRXDir dir, uint8_t gfirIndex, float_type* coef, uint8_t coefCount)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reasoning of function rename, Get vs Read?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other function taking in floating point numbers was named Write, so changed the naming to keep it consistent with that function.

Changing both functions now to be Set/Get instead to be consistent with the rest of LMS7002M code.

src/lms7002m/LMS7002M.cpp Outdated Show resolved Hide resolved
src/boards/LMS7002M_SDRDevice.cpp Outdated Show resolved Hide resolved
src/boards/LMS7002M_SDRDevice.cpp Outdated Show resolved Hide resolved
src/lms7002m/LMS7002M.cpp Show resolved Hide resolved
src/lms7002m/LMS7002M.cpp Show resolved Hide resolved
@rjonaitis rjonaitis merged commit 8b3c252 into myriadrf:litepcie-update Feb 1, 2024
1 check passed
@DominykasPetke DominykasPetke deleted the litepcie-update-gfir branch February 2, 2024 12:45
DominykasPetke pushed a commit to Matom-ai/LimeSuite that referenced this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants