move valentyusb install to litex_setup.py

This commit is contained in:
Ben Stobbs 2022-06-19 12:51:14 +01:00
parent 0941459061
commit db3fa1efc7
2 changed files with 1 additions and 3 deletions

View File

@ -1350,9 +1350,6 @@ class LiteXSoC(SoC):
# USB ACM (with ValentyUSB core).
elif uart_name in ["usb_acm"]:
# FIXME: do proper install of ValentyUSB.
os.system("git clone https://github.com/litex-hub/valentyusb -b hw_cdc_eptri")
sys.path.append("valentyusb")
import valentyusb.usbcore.io as usbio
import valentyusb.usbcore.cpu.cdc_eptri as cdc_eptri
usb_pads = self.platform.request("usb")

View File

@ -76,6 +76,7 @@ git_repos = {
# ------------------
"pythondata-software-picolibc": GitRepo(url="https://github.com/litex-hub/", clone="recursive"),
"pythondata-software-compiler_rt": GitRepo(url="https://github.com/litex-hub/"),
"valentyusb": GitRepo(url="https://github.com/litex-hub/"),
"litex": GitRepo(url="https://github.com/enjoy-digital/", tag=True),
# LiteX Cores Ecosystem.