From dd1a5ae1012d191db2116ed3532c279fe5cb6be5 Mon Sep 17 00:00:00 2001 From: mndza Date: Fri, 5 Jul 2024 10:25:51 +0200 Subject: [PATCH] gateware.flash_bridge: fix port in platforms that share it with Apollo Use the new apollo_gateware_phy property introduced in greatscottgadgets/luna#269. --- apollo_fpga/gateware/flash_bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo_fpga/gateware/flash_bridge.py b/apollo_fpga/gateware/flash_bridge.py index 3287f0b..5c79236 100644 --- a/apollo_fpga/gateware/flash_bridge.py +++ b/apollo_fpga/gateware/flash_bridge.py @@ -299,7 +299,7 @@ def elaborate(self, platform): m.submodules.car = platform.clock_domain_generator() # Create our USB device interface... - phy_name = platform.default_usb_connection + phy_name = platform.apollo_gateware_phy ulpi = platform.request(phy_name) m.submodules.usb = usb = USBDevice(bus=ulpi)