uhd/mpm/python
Lane Kolbly 7ba25a638e mpm: rfdc: Tear down RFDC on teardown
So, the Python garbage collector is a bit pernicious, in that it happens
behind the scenes in a way which is difficult to predict. The rfdc_ctrl
class expects that its "lifetime" will be a single live/die cycle of the
FPGA (i.e. that when a new FPGA is loaded, it will be destructed).
However, by default the Python GC will keep the X4xxRfdcCtrl class alive
for an arbitrary amount of time, meaning that it's possible that
multiple (C++) rfdc_ctrl classes can be alive at a single time.

When the GC reaps all of these classes, libmetal segfaults when we call
metal_finish several times in a row. This change works around that
issue, if not the overall GC issue, by explicitly deleting the rfdc_ctrl
object.
2021-10-11 10:43:46 -07:00
..
pyusrp_periphs uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
tests mpm: tests: Add lib/ to library load path 2021-06-18 07:28:28 -05:00
usrp_mpm mpm: rfdc: Tear down RFDC on teardown 2021-10-11 10:43:46 -07:00
aurora_bist_test.py
CMakeLists.txt cmake: Replace CMAKE_{SOURCE,BINARY}_DIR with UHD_*_DIR 2021-09-10 15:08:10 -05:00
copy_python_module.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
e320_bist mpm: e320/e310: Expose APIs to drive GPIO source via UHD 2020-01-23 11:37:51 -08:00
n3xx_bist mpm: Remove references to rfnoc_num_blocks 2021-04-12 15:14:45 -05:00
setup.py.in cmake: Add RegMaps build component to MPM 2021-03-01 15:57:01 -06:00
socket_test.py
test_lmk.py
usrp_hwd.py sim: Integrate simulator into UHD 2020-10-28 15:25:48 -05:00
usrp_update_fs mpm: Update usrp_update_fs to support X410 2021-07-08 00:05:43 -07:00
x4xx_bist x4xx_bist: use get_mpm_client in gpio bist 2021-09-02 13:34:22 -05:00