Skip to content

Improved error message for missing SoapySDR package in CMake#88

Open
vd2org wants to merge 4 commits intofeature_pe_syncfrom
feature_better_cmake_errors
Open

Improved error message for missing SoapySDR package in CMake#88
vd2org wants to merge 4 commits intofeature_pe_syncfrom
feature_better_cmake_errors

Conversation

@vd2org
Copy link
Contributor

@vd2org vd2org commented Sep 19, 2025

No description provided.

vd2org and others added 4 commits June 6, 2025 16:43
* add xo & apll1 settings

* add dpll_mode

* fix in apll1 divider setting

* solver stage#1

* solver stage#2

* mk05318 solver is working.. sometimes... beta-version

* pd2 temporarily disabled + minor changes

* another lmk05318 version, elaborate but seems to be perfect. Need testing

* headers refact (lost #include)

* lmk05318 solver test rewritten to CHECK and added to the test suite

* refactoring + add hw registers set to solver

* intermediate commit

* enforcing solver - now it can work with incomplete set of ports

* try to use solver in ext_simplesync (needs testing)

* fix typo:

* Initial commit

* Fixed lmx2820 yaml.

* Fixed lmx2820 yaml.

* Updated gen_h.py.

* lmx2820 solver & tuner

* ++lmx2820 unit test

* minor fixes/ench + additional test cases

* Fixes & emprovements + instcal (not not completely ready)

* minor changes

* instcal implemented. need to test on hardware

* minor change

* fix R0 reg mask for instcal

* ++comments (intermediate commit, amend it later)

* First try to tune LMK05318

* reset() added

* minor but valueable changes

* pe_sync: fix SPI / I2C settings

* init() added - dump decomposed

* comment out init()

* lmk05318 regs are written in asc order (as by doc)

* refactoring, minor changes, ++wait_lock

* minor fix

* fixed in yaml - add bus info & some minors

* validate&add yamls: ad5662, lmk1d1208i, lmx1204, lmx1205, lmx1214, lp87524j_q1

* gen_h.py generator update

* update yamls, add bus info

* tmp version with TI dump

* many fixes in yaml & logic

* fix in pe_sync logging

* add rd_mask(RD macro) to parser + fixes for LMX2820

* add init regs + fixes

* add all regs from dump

* comment out soft-reset

* add R19 R20

* APLL2 - fix try, rom again

* APLL2 fixed

* fix 05318 solver for 1 APLL2 out

* fix lock & LOS flags reset

* extra comments

* fix BAW lock

* add all regs from dump to init()

* Final (I hope) BAW detect fix + rm redundant code

* refactoring

* fix in solver + APLL2 programmed denum

* minor fixes & code cleaning

* update ext_simplesync logic

* fix accuracy for lmx2820

* add CGD (common greatest divider) to VCOs num/den

* lmx2820 lmx1 added to pe_sync

* add logging

* fix memset

* fix mash order

* add lmx2820 dump for testing

* llog fmt fix

* comment out lmx2820 reset + fix for osc_2x detection

* try to fix lmx2820 reset

* skip reset

* add LMX1214 support (need testing)

* extra logging

* add lmx1214 test dump

* several minor changes + print all regs in create()

* lmx1204 first stub

* lmx1204 works, 1214 fails

* code cleaning & fixes in regs. Stable

* LMX2124 1)fix for aux.disables 2)prec mode

* lmx1204 (not ready yet)

* lmx1204 - solver completed (except registers), unit-test added

* lmx1204 add regs, lock etc

* add LMX2820[0] & LMX1204 to pe_sync

* minor changes

* add forgotten test

* LMK05380 add log

* sporadic fixes to make lmx2820 work

* LMX1204 individual sysref delays settings

* LMX1204/1214 sync wnd capture + refactoring

* move spi common funcs to common.c

* lite refactoring

* refactoring + fix + skip 2820 reset

* DPLL added - testing needed

* minors

* LMK - add load DPLL from dump

* multiple LMK DPLL regs fixes

* enable GPS & minor fix

* add terra-incognita LMK DPLL registers, it works sometimes

* LMK DPLL fixes

* minor LMK fix

* minor fixes

* LMK DPLL another dump

* another DPLL patch bundle

* LMK add empirical regs set (for debug)

* minor fixes & comments

* wait functions refactoring, timeout more accurate

* minor change for debug

* LMK DPLL registers cleared:

* minor change

* several fixes in LMK DPLL regs

* LMK yaml upd + minor changes

* inscrease lock timeouts - due to timeout functions change several commits above

* LMK APLL1 tune refactoring

* DPLL ZDM refactored & several minor refact

* fix err in prev commit + refact + additional log

* APLL1 additional check

* fix inaccuracy in OUT7 div calculation

* lmx1204 does not lock

* LMX1204 works (except multiplier mode), LMX1214 - AUXCLK doesn't work. New freqs settings for PESync

* Add distributers LMK1D1208i for LMX1204 LOGICLK/LOGICREF

* LMX1204 MULT mode lock fixed

* LMX2820 SYSREF added (not tested)

* LMX2820@PESync SYSREF implementation

* fix in LMX2820 solver for SROUT. SROUT still not working

* enable DPLL + timeout 4min

* minor cleaning

* cleaning before merge [1]

* cleaning before merge [2]

* cleaning before merge [3] + simplesync/dsdr

* lmk05318 fixpack for simplesync, dsdr & pe_sync

* code a bit more safe

* simplesync cut-off frequency corrected

* increase LMK max out freq setting + new unit-test

* xmass: add initial support

* fix for multithreading accesing the same bus

* add check APLL locks for XMASS

* LMK - add settings for XO=26M

* fix minor issuies

* try te fix XMASS freq change, +extra diagnostic +lite refact

* xmass: lmk05318b soft reset fails retune APPL2 on preconfigured system, ignore it

* add extra LMK out types

* make LMK APLL1 fdiv calculation more flexible

* LMK refactoring, disable if freq==0, new api to enable/disable ports

* add & correct LMK APLL1 checks for dpll-mode

* add define macro for disabling dpll-mode checks (XO25M case)

* LMK: improving XO chain solver, refactoring, XO=12.8M settings

* xsdr wip

* fix

* lmk05138b: skip soft sync since it fails somehow

* LMK create() refactored, xo params simplified

* xmass: initial fix

* xmass: fix sysref_gen routing

* refactoring

* Fix potential error in lmk05318_get_output_divider() + new dsdr unit-test

* fix in lmk solver, comparing int and double

* xdsp test refactoring & cleaning

* xdsp test refactoring & cleaning

* Startup fix

---------

Co-authored-by: Yuri Nikolaev <irodushka@gmail.com>
Co-authored-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
@vd2org vd2org requested a review from sergforce September 19, 2025 14:59
@vd2org vd2org self-assigned this Sep 19, 2025
@sergforce sergforce changed the base branch from main to feature_pe_sync December 15, 2025 09:21
@sergforce sergforce changed the base branch from feature_pe_sync to main December 15, 2025 09:22
@vd2org vd2org changed the base branch from main to feature_pe_sync February 27, 2026 22:20
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.

1 participant