4381 Commits

Author SHA1 Message Date
Dmitry Sharshakov
4867d84b1e host: change UHD pointer types based on UHD version
Follow-up: 58b4d869d4
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
dbbedb55b3 usrp_cal_utils: compatibility with UHD3
Follow-up: 98bd84035b
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
966d38e710 host: fix Boost warnings due to global placeholders 2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
bac43dcb6c host: remove unused variables and functions 2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
1be7c63ac2 host: use std::shared_ptr for UHD objects
UHD 4 moved to C++11 smart pointers instead of Boost ones. Follow this to allow building with UHD 4. This change is limited to symbols interacting with libuhd.

Ref: 1fe98e8701
2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
845b9029df host: add missing includes for BOOST_FOREACH 2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
ce07ca65ff umtrx_impl: remove header deprecated in UHD 4 2023-11-26 22:50:28 +02:00
Dmitry Sharshakov
c59bb6d776 usrp_cal_utils: use UHD 4 calibration data path
UHD 4 removed get_app_path, replace it with designated calibration data directory.

This change will require users to move calibration blobs to new location for UHD 4 or recalibrate.

Reference: 1383fde345
2023-11-26 22:50:28 +02:00
Kirill Zakharenko
20ab77fe91 release 1.0.19 1.0.19 2020-05-26 07:55:28 +03:00
Kirill Zakharenko
e597866c9d python: install umtrx property tree lib for python 3 as well 2020-05-26 05:51:02 +03:00
Clément BRUGUERA
9f0bf718e2 Fix compilation error against libboost 1.67 2019-11-01 00:23:23 +03:00
Alexander Chemeris
9797c410e3 Do not rely on N200 EEPROM code.
New UHD versions removed device-specific code from public headers, so
we've copied relevant code into our own codebase.

Also renamed N100 to N200 to follow the main UHD codebase naming.
2019-10-31 19:22:50 +03:00
Alexander Chemeris
c87ac1ba32 Detect uhd/utils/thread_priority.hpp deprecation 2019-10-31 19:22:50 +03:00
Alexander Chemeris
48ad4cd890 Don't include uhd/utils/atomic.hpp - we disabled threading here long time ago 2019-10-31 19:22:50 +03:00
Alexander Chemeris
828c811f79 Fix uhd/utils/msg.hpp missing in newer UHD 2019-10-31 19:22:50 +03:00
Kirill Zakharenko
6c9567c46f bump version to 1.0.18 1.0.18 2019-07-15 18:03:30 +03:00
Kirill Zakharenko
2fa07d28d6 umtrx_monitor: bind to localhost instead of 0.0.0.0 2019-07-15 18:03:13 +03:00
Kirill Zakharenko
e4dff6e07c bumped version to 1.0.17 1.0.17 2019-07-08 21:48:01 +03:00
Kirill Zakharenko
fab18d97a2 umtrx_auto_calibration: save result files to /var/lib/umtrx by default 2019-07-05 15:13:26 +03:00
Kirill Zakharenko
c9304575bf bumped version to 1.0.16 1.0.16 2019-07-03 21:17:31 +03:00
Kirill Zakharenko
61ac2ee278 umtrx_cal_*: fix for abrupt termination
tx_thread creates a child thread, which it join()s on, when terminating
calling interrupt() on tx_thread interferes with the join()
so we replace interrupt() with an atomic flag

(not sure how this worked before)
2019-07-03 21:17:31 +03:00
Kirill Zakharenko
7199b8667f boost: use minimally required build Boost dependencies
speeds up clean builds
2019-07-03 21:17:31 +03:00
Kirill Zakharenko
91185de06a util: install python utils directly into /usr/bin 2019-07-03 21:17:30 +03:00
Kirill Zakharenko
99d1b8adf3 utils: move umtrx python libraries to PYTHONPATH 2019-07-03 21:17:30 +03:00
Kirill Zakharenko
b81240db26 utils: remove collectd integration, it belongs in another package 2019-07-03 21:17:30 +03:00
Kirill Zakharenko
0d0f0c710c debian: Update deb deps to bionic 2019-07-03 21:17:30 +03:00
sergforce
f528fa442f Merge pull request #23 from pespin/pespin/fix-build
umtrx_monitor.cpp: Fix compilation against newer boost
2018-04-22 18:41:38 +03:00
Pau Espin Pedrol
132f8995ec umtrx_monitor.cpp: Fix compilation against newer boost
Related: github issue #22
2018-04-21 15:23:42 +02:00
satunnainen
93d4343d85 bump version to 1.0.15 1.0.15 2017-08-15 03:04:15 +03:00
Alexander Chemeris
1421327cfe host: Python 2 compatibility for umtrx_property_tree.py
bytes(u'something', 'utf-8') is only available in Python 3. A backwards
compatible version of it is u'something'.encode('utf-8').
2017-08-14 23:46:06 +03:00
Alexander Chemeris
1e0c879f53 utils: s/USRP/UmTRX/g in console output of umtrx_net_burner.py 2017-08-08 21:34:51 +03:00
satunnainen
479d6e9cf6 bump version to 1.0.14 1.0.14 2017-08-07 10:35:28 +03:00
Alexander Chemeris
4bba18b1cf host: Fix build. 2017-08-04 18:44:55 +03:00
Alexander Chemeris
a3070ed467 bump version to 1.0.13 1.0.13 2017-08-04 16:00:38 +03:00
Alexander Chemeris
064de45a45 images: Checking in a sligtly more optimal production ZPU image.
My version of the ZPU compiler genrates more optimal code than Sergey's probably
because it's a purely C compiler vs a combined C/C++ one Sergey has. So this
version of production ZPU image has 1829 bytes available for stack, while
Sergey's had only 1764 bytes. Given we're not sure how much stack do we really
need, it's better to have more. My bootloader has 1507 bytes avialable for
stack, while Sergey's has only 1442.
2017-08-04 15:53:42 +03:00
Alexander Chemeris
8678899b70 host: Do not set TCXO DAC value on UHD library init - it's now read from EEPROM by ZPU. 2017-08-04 15:46:24 +03:00
Sergey Kostanbaev
32584f2d13 update production FPGA & ZPU images 2017-08-04 15:42:20 +03:00
Sergey Kostanbaev
e03e43151b fpga: update default bootloader, increase minor version 2017-08-04 15:42:20 +03:00
Sergey Kostanbaev
88e0f1c156 zpu: check that enough memory is available for the image to operate.
This is a fixup commit for the previous commit (8D7B9D84).

ZPU is a stack machine where all code, constants, variables and function stack
are stored in a single memory block. Compiler doesn't through any warnings
or errors if the allocated memory is exhausted, so we have to check this
manually.

Our memory size is only 16383 bytes and we already had situation when all of it
is exhausted leading to unpredictable behaviour. Unfortunately we can't know
how much memory exactly do we need, but we estimated that 1300 bytes is enough
for us now, so this is what we're checking.
2017-08-04 15:41:54 +03:00
Sergey Kostanbaev
8d7b9d84ed zpu: check that minimal stack is available 2017-08-02 13:49:55 +03:00
Sergey Kostanbaev
7588631788 zpu: increase UART lucky number 2017-08-02 12:59:10 +03:00
Sergey Kostanbaev
c5479d66b3 zpu: reduce UART buffer in bootloader mode 2017-08-02 12:58:37 +03:00
Sergey Kostanbaev
5bc5265fd7 zpu: hide some debug messages in bootloader mode 2017-08-02 12:55:46 +03:00
Sergey Kostanbaev
dd16447884 zpu: use define for PID coeffs, save extra space 2017-08-02 12:51:38 +03:00
Sergey Kostanbaev
76f0a92574 zpu: short messages in bootloader to save space 2017-08-02 12:44:15 +03:00
Sergey Kostanbaev
6731023b5c zpu: currently we have only 2 NOPs in the firmware 2017-08-02 12:41:21 +03:00
Sergey Kostanbaev
79938f6090 zpu: allocate only data for UARTs we're interested
Currently we allocate data even for UARTS we're not listening
2017-08-02 12:36:10 +03:00
Sergey Kostanbaev
868f511f0d zpu: add Init done message before main loop 2017-08-02 12:17:48 +03:00
Sergey Kostanbaev
825a076c5c zpu: make statup messages more compact 2017-08-02 12:17:14 +03:00
Sergey Kostanbaev
fc5067d9c1 zpu: get rid of printf format warning 2017-08-02 12:15:36 +03:00