move valentyusb install to litex_setup.py
This commit is contained in:
parent
0941459061
commit
db3fa1efc7
|
@ -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/"),
|
||||
"litex": GitRepo(url="https://github.com/enjoy-digital/", tag=True),
|
||||
|
||||
# LiteX Cores Ecosystem.
|
||||
|
|
Loading…
Reference in New Issue