Merge pull request #1335 from benstobbs/valentyusb-proper-install

Move valentyusb install to litex_setup.py
This commit is contained in:
enjoy-digital 2022-06-20 08:36:44 +02:00 committed by GitHub
commit b86629a615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/", branch="hw_cdc_eptri"),
"litex": GitRepo(url="https://github.com/enjoy-digital/", tag=True),
# LiteX Cores Ecosystem.