uhd/mpm/python/usrp_mpm/periph_manager
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
..
__init__.py.in mpm: Add __mpm_device__ as usrp_hwd module variable 2018-10-09 17:11:08 -07:00
base.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
CMakeLists.txt uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
common.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
e31x.py mpm: Add symbol name based EEPROM read, cleanup EEPROM handling 2021-05-31 05:28:47 -07:00
e31x_periphs.py mpm: e320/e310: Expose APIs to drive GPIO source via UHD 2020-01-23 11:37:51 -08:00
e320.py mpm: Remove SID class 2020-08-07 07:25:08 -05:00
e320_periphs.py mpm: Fix various Pylint issues 2020-07-09 00:39:11 -07:00
n3xx.py n3xx: Add support for rev 10 2021-08-16 15:42:13 -05:00
n3xx_periphs.py mpm: Look for pca953x based devices by device/name 2020-06-11 10:39:05 -05:00
sim.py sim: Ignore mender artifact file on sim devices 2021-01-21 12:47:54 -06:00
x4xx.py mpm: rfdc: Tear down RFDC on teardown 2021-10-11 10:43:46 -07:00
x4xx_clk_aux.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_clk_mgr.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_gps_mgr.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_mb_cpld.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_periphs.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_reference_pll.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_rfdc_ctrl.py mpm: rfdc: Tear down RFDC on teardown 2021-10-11 10:43:46 -07:00
x4xx_rfdc_regs.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_sample_pll.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
x4xx_update_cpld.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00