target/usb_acm: switch git clone to litex-hub/valentyusb repo (up to date with LiteX).
This commit is contained in:
parent
20903da54a
commit
5a4e28d47d
|
@ -84,7 +84,7 @@ class BaseSoC(SoCCore):
|
|||
# Serial -----------------------------------------------------------------------------------
|
||||
# FIXME: do proper install of ValentyUSB.
|
||||
# FIXME: replace IoBuf with https://github.com/im-tomu/valentyusb/blob/master/valentyusb/usbcore/io.py#L13-L61.
|
||||
os.system("git clone https://github.com/gregdavill/valentyusb -b hw_cdc_eptri")
|
||||
os.system("git clone https://github.com/litex-hub/valentyusb -b hw_cdc_eptri")
|
||||
sys.path.append("valentyusb")
|
||||
|
||||
# SoCCore ----------------------------------------------------------------------------------
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
from migen import *
|
||||
from migen.genlib.resetsync import AsyncResetSynchronizer
|
||||
|
||||
|
@ -103,7 +102,7 @@ class BaseSoC(SoCCore):
|
|||
# Serial -----------------------------------------------------------------------------------
|
||||
if kwargs["uart_name"] == "usb_acm":
|
||||
# FIXME: do proper install of ValentyUSB.
|
||||
os.system("git clone https://github.com/gregdavill/valentyusb -b hw_cdc_eptri")
|
||||
os.system("git clone https://github.com/litex-hub/valentyusb -b hw_cdc_eptri")
|
||||
sys.path.append("valentyusb")
|
||||
|
||||
# SoCCore ----------------------------------------------------------------------------------
|
||||
|
|
|
@ -151,7 +151,7 @@ class BaseSoC(SoCCore):
|
|||
# Serial -----------------------------------------------------------------------------------
|
||||
if kwargs["uart_name"] == "usb_acm":
|
||||
# FIXME: do proper install of ValentyUSB.
|
||||
os.system("git clone https://github.com/gregdavill/valentyusb -b hw_cdc_eptri")
|
||||
os.system("git clone https://github.com/litex-hub/valentyusb -b hw_cdc_eptri")
|
||||
sys.path.append("valentyusb")
|
||||
else:
|
||||
platform.add_extension(orangecrab.feather_serial)
|
||||
|
|
Loading…
Reference in New Issue