target/usb_acm: switch git clone to litex-hub/valentyusb repo (up to date with LiteX).

This commit is contained in:
Florent Kermarrec 2020-11-27 18:53:45 +01:00
parent 20903da54a
commit 5a4e28d47d
3 changed files with 3 additions and 4 deletions

View File

@ -84,7 +84,7 @@ class BaseSoC(SoCCore):
# Serial ----------------------------------------------------------------------------------- # Serial -----------------------------------------------------------------------------------
# FIXME: do proper install of ValentyUSB. # FIXME: do proper install of ValentyUSB.
# FIXME: replace IoBuf with https://github.com/im-tomu/valentyusb/blob/master/valentyusb/usbcore/io.py#L13-L61. # 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") sys.path.append("valentyusb")
# SoCCore ---------------------------------------------------------------------------------- # SoCCore ----------------------------------------------------------------------------------

View File

@ -9,7 +9,6 @@
import os import os
import sys import sys
import argparse import argparse
from migen import * from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer from migen.genlib.resetsync import AsyncResetSynchronizer
@ -103,7 +102,7 @@ class BaseSoC(SoCCore):
# Serial ----------------------------------------------------------------------------------- # Serial -----------------------------------------------------------------------------------
if kwargs["uart_name"] == "usb_acm": if kwargs["uart_name"] == "usb_acm":
# FIXME: do proper install of ValentyUSB. # 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") sys.path.append("valentyusb")
# SoCCore ---------------------------------------------------------------------------------- # SoCCore ----------------------------------------------------------------------------------

View File

@ -151,7 +151,7 @@ class BaseSoC(SoCCore):
# Serial ----------------------------------------------------------------------------------- # Serial -----------------------------------------------------------------------------------
if kwargs["uart_name"] == "usb_acm": if kwargs["uart_name"] == "usb_acm":
# FIXME: do proper install of ValentyUSB. # 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") sys.path.append("valentyusb")
else: else:
platform.add_extension(orangecrab.feather_serial) platform.add_extension(orangecrab.feather_serial)