Skip to content

Commit a39b668

Browse files
Trung Tranmbr0wn
authored andcommitted
mpm: n3xx: Allow to run without daughterboards connected
The product ID will fall back to the motherboard ID (n300, n310). This will load FPGA images even if there is no daughterboard connected.
1 parent 458c1bb commit a39b668

File tree

1 file changed

+2
-0
lines changed
  • mpm/python/usrp_mpm/periph_manager

1 file changed

+2
-0
lines changed

mpm/python/usrp_mpm/periph_manager/n3xx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ class n3xx(ZynqComponents, PeriphManagerBase):
9292
# manager class. The format of this map is:
9393
# (motherboard product code, (Slot-A DB PID, [Slot-B DB PID])) -> product
9494
product_map = {
95+
('n300', tuple()) : 'n300',
9596
('n300', (MG_PID, )): 'n300', # Slot B is empty
97+
('n310', tuple()) : 'n310',
9698
('n310', (MG_PID, MG_PID)): 'n310',
9799
('n310', (MG_PID, )): 'n310', # If Slot B is empty, we can
98100
# still use the n310.bin image.

0 commit comments

Comments
 (0)