Merge pull request #1335 from benstobbs/valentyusb-proper-install
Move valentyusb install to litex_setup.py
This commit is contained in:
commit
b86629a615
|
@ -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")
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue