From 78b5727774c88991554e82bbabe5acf2ab08188b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 30 Apr 2020 21:48:10 +0200 Subject: [PATCH] targets: rename usb_cdc to usb_acm. As discussed recently on Discord. --- litex_boards/targets/colorlight_5a_75b.py | 4 ++-- litex_boards/targets/orangecrab.py | 2 +- litex_boards/targets/ulx3s.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litex_boards/targets/colorlight_5a_75b.py b/litex_boards/targets/colorlight_5a_75b.py index a33ec428..9a4c9c9c 100755 --- a/litex_boards/targets/colorlight_5a_75b.py +++ b/litex_boards/targets/colorlight_5a_75b.py @@ -26,7 +26,7 @@ # - Place a 15K resistor between J4 pin 3 and J4 pin 4. # - Place a 1.5K resistor between J4 pin 1 and J4 pin 3. # - Connect USB DP (Green) to J4 pin 3, USB DN (White) to J4 pin 2. -# ./colorlight_5a_75b.py --revision=7.0 --uart-name=usb_cdcc +# ./colorlight_5a_75b.py --revision=7.0 --uart-name=usb_acm # ./colorlight_5a_75b.py --load # You should see the LiteX BIOS and be able to interact with it. # @@ -102,7 +102,7 @@ class BaseSoC(SoCCore): # CRG -------------------------------------------------------------------------------------- with_rst = kwargs["uart_name"] not in ["serial", "bridge"] # serial_rx shared with user_btn_n. - with_usb_pll = kwargs.get("uart_name", None) == "usb_cdc" + with_usb_pll = kwargs.get("uart_name", None) == "usb_acm" self.submodules.crg = _CRG(platform, sys_clk_freq, with_usb_pll=with_usb_pll,with_rst=with_rst) # SDR SDRAM -------------------------------------------------------------------------------- diff --git a/litex_boards/targets/orangecrab.py b/litex_boards/targets/orangecrab.py index 14271fa4..aa4491bc 100755 --- a/litex_boards/targets/orangecrab.py +++ b/litex_boards/targets/orangecrab.py @@ -98,7 +98,7 @@ class BaseSoC(SoCCore): SoCCore.__init__(self, platform, clk_freq=sys_clk_freq, **kwargs) # CRG -------------------------------------------------------------------------------------- - with_usb_pll = kwargs.get("uart_name", None) == "usb_cdc" + with_usb_pll = kwargs.get("uart_name", None) == "usb_acm" self.submodules.crg = _CRG(platform, sys_clk_freq, with_usb_pll) # DDR3 SDRAM ------------------------------------------------------------------------------- diff --git a/litex_boards/targets/ulx3s.py b/litex_boards/targets/ulx3s.py index 1f3e338d..dd4f2377 100755 --- a/litex_boards/targets/ulx3s.py +++ b/litex_boards/targets/ulx3s.py @@ -73,7 +73,7 @@ class BaseSoC(SoCCore): SoCCore.__init__(self, platform, clk_freq=sys_clk_freq, **kwargs) # CRG -------------------------------------------------------------------------------------- - with_usb_pll = kwargs.get("uart_name", None) == "usb_cdc" + with_usb_pll = kwargs.get("uart_name", None) == "usb_acm" self.submodules.crg = _CRG(platform, sys_clk_freq, with_usb_pll) # SDR SDRAM --------------------------------------------------------------------------------