integration/soc: rename usb_cdc to usb_acm.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 30 Apr 2020 19:45:53 +0000 (21:45 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 30 Apr 2020 19:45:53 +0000 (21:45 +0200)
As discussed on Discord recently.

litex/soc/integration/soc.py

index d22989a208cf1bfc232581c885dfcc6ed640306e..55557ecf181fe5ec5e58a5da68479706d17d3002 100644 (file)
@@ -958,8 +958,8 @@ class LiteXSoC(SoC):
                 tx_fifo_depth = fifo_depth,
                 rx_fifo_depth = fifo_depth))
 
-        # USB CDC (with ValentyUSB core)
-        elif name in ["usb_cdc"]:
+        # USB ACM (with ValentyUSB core)
+        elif name in ["usb_acm"]:
             import valentyusb.usbcore.io as usbio
             import valentyusb.usbcore.cpu.cdc_eptri as cdc_eptri
             usb_pads = self.platform.request("usb")